Rust and Cargo 1 · Testing and code quality
Run benchmarks
Run benchmarks. The built-in harness needs the nightly toolchain, so most projects use criterion.
cargo bench
Official Rust and Cargo 1 documentation
More testing and code quality commands
All testing and code quality commands · Rust and Cargo 1 cheatsheet