Rust Quick Tips

commanddescription
cargo run -- --arg --arg1 testRun executable with commandline arguments
cargo test -- --nocaptureDisplay stdout during testrun (can be helpful for debugging)
cargo doc --no-depsCreate documentation without dependencies
cargo doc --openCreate local full documentation and open it in browser
cargo install rustfmtInstall rust formatter
cargo fmtFormat sourcecode in project
cargo install --listlist all installed crates