Rust and Cargo 1 · Dependencies

Add a development dependency

Add a crate used only for tests and examples.

cargo add --dev pretty_assertions

Official Rust and Cargo 1 documentation

More dependencies commands

All dependencies commands · Rust and Cargo 1 cheatsheet

Was this page helpful?