631 B
631 B
Development
- Prefer simple, idiomatic Rust; reuse existing code and dependencies before adding abstractions or crates.
- Keep changes focused, handle errors explicitly, and add the smallest useful test for non-trivial behavior.
- Preserve
rustfmtoutput and keep Clippy warning-free.
Commit gates
Run before every commit:
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo build --all-targets --all-features
cargo test --all-features
Commit messages
Use a short, imperative subject describing one change. Skip prefixes and bodies unless they add necessary context.