Uwes Blog

Projects, thoughts and more

Rust Quick Tips

command description
cargo test – –nocapture Display stdout during testrun (can be helpful for debugging)
cargo doc –no-deps create documentation without dependencies
cargo doc –opens create local full documentation and open it in browser
cargo install rustfmt install rust formatter
cargo fmt Format sourcecode in project

Leave a comment: