Contributions are welcomed ! On this repository you may:
- Report a bug by opening an Github issue
- Submit a fix by opening a Pull request
- Propose new features either in an issue or in a pull request
Pull requests are the best way to propose changes to the codebase.
- Fork the repo and create your branch from
main
. - If you've added code, please add unit tests.
- If you've changed APIs, please update the documentation. If you changed the
top level documentation, sync the
README.md
with cargo-sync-readme. - Ensure the test suite passes.
- Make sure
clippy
,rustdoc
andrustmft
are happy. - Add an entry in the
CHANGELOG.md
under theUnreleased
section describing your changes - Open that pull request with a clear description of the work done
When you open a pull requests, various workflows will check your contribution:
- The
Rust
workflow will check that the following checks pass, both for the source code and examplescargo clippy
cargo build
cargo fmt
cargo rustdoc
cargo test
- The
Docs
workflow will check:- That you added a
CHANGELOG.md
entry - That both
README.md
andsrc/lib.rs
global documentation are in sync.
- That you added a
In short, when you submit code changes, your submissions are understood to be under the same License that covers the project.