The three rules that contributors MUST follow:
- Discuss a feature before implementing it
cargo +nightly fmtshould always be run on code before creating a commit- Commits should follow the Conventional Commit guidelines
- A small change in one commit is exempt from this rule
Things that contributors SHOULD NOT be worried about:
- Code style:
cargo fmtrenders this a nonissue - Code acceptance: in most circumstances, safe Rust code will be accepted on the spot
- Commit messages: maintainers can revise them before or after merging
Things that contributors SHOULD be aware of:
rustupshould be the preferred tool for Rust developerscargo clippycan point out the majority common mistakes in Rust codesbuildcan be used to verified that debian packages build correctlyunsafeis explicitly disallowed, unless otherwise permitted by a maintainer