Project Guide
Rust CLI tool for processing log files.
Build & Test
cargo build— debug buildcargo test— run unit testscargo clippy --all-targets— run before pushing; catches most CI failures
Pre-push checklist
cargo clippy --all-targets— catches most CI failures earlycargo test
Integration tests
- Integration tests require Docker running on the host.
- Make sure the Docker daemon is started before running integration tests.
Style
- Follow standard Rust conventions (rustfmt)
- Use
thiserrorfor library errors,anyhowfor binary errors - Prefer iterators over manual loops