Abusch Gb Rs Rust Best Practice

Important dos and don'ts for working with Rust source code

tomevault-io Updated

File contents

Important dos and don'ts for working with Rust source code

  • Use cargo add to add new dependencies or features rather than editing Cargo.toml directly
  • Before finishing your turn, when editing Rust code:
    • Run cargo fmt after modifying Rust source files to ensure consistent formatting
    • Run tests (most commonly cargo test --all --workspace, though some projects may have other commands)

Source: abusch/gb-rs — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/abusch--gb-rs--rust-best-practice commit 7177020846

Frequently asked questions

npx skillmds@latest add tomevault-io/abusch-gb-rs-rust-best-practice