D - Useful Development Tools

Oxide is built on the Rust toolchain, so many Rust tools apply directly. These tools help you format, lint, test, and document your projects.

Formatting

  • cargo fmt formats your code using rustfmt rules.

Linting

  • cargo clippy runs Clippy lints to catch common mistakes and style issues.

Documentation

  • cargo doc --open generates API documentation.

Testing

  • cargo test runs your unit and integration tests.

Editor Support

  • rust-analyzer powers IDE features like autocomplete and inline errors.

Other Useful Tools

  • cargo audit checks dependencies for known vulnerabilities.
  • cargo expand shows macro expansion output.
  • miri helps detect undefined behavior in unsafe code.

Tool availability depends on your installed toolchain and system setup.