How to Contribute
September 18, 2026 · View on GitHub
We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.
Code Reviews
All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.
Setting up commit hooks
This repository includes a pre-commit hook that runs the formatter and linter automatically. Activate it once after cloning:
git config core.hooksPath .githooks
The hook runs:
cargo +nightly fmt -- --check— fails if any file needs reformattingcargo +nightly clippy --workspace --all-targets --all-features -- -D warnings— fails on any Clippy warning
Note: always pass --all-targets when running Clippy on this workspace.
Without it, integration-tests' binaries are checked outside of test mode,
where their #[cfg(test)]-only dependencies appear (incorrectly) unused.
Running the autoformatter rustfmt
This repository uses a custom configuration for rustfmt which currently requires that one run the nightly version:
cargo +nightly fmt
The stable version will generate error messages and modify a lot of the existing formatting, obscuring any real changes you are making.