- Rust (stable toolchain — see
rust-toolchain.tomlfor the pinned version) - zlib development headers
- OpenMP:
- macOS:
brew install libomp - Linux:
libomp-devorlibgomp(typically included with GCC)
- macOS:
# Format check (fails if formatting differs)
cargo ci-fmt
# Lint check (fails on any warnings)
cargo ci-lint
# Build all targets
cargo ci-buildNote: rust-yara does not have tests yet. Test infrastructure is planned for a future release.
- Run
cargo fmtbefore committing - Fix all clippy warnings
- Add backticks around identifiers in doc comments (e.g.,
`contig_count`)
- Ensure all CI checks pass (
cargo ci-fmt,cargo ci-lint,cargo ci-build) - Keep PRs focused and reasonably sized
- Include tests for new functionality (when test infrastructure is available)