Important dos and don'ts for working with Rust source code
- Use
cargo addto add new dependencies or features rather than editingCargo.tomldirectly - Before finishing your turn, when editing Rust code:
- Run
cargo fmtafter modifying Rust source files to ensure consistent formatting - Run tests (most commonly
cargo test --all --workspace, though some projects may have other commands)
- Run
Source: abusch/gb-rs — distributed by TomeVault.