Rust and Cargo 1 · Build and run

Build and open documentation

Build the docs for your crate and its dependencies and open them in a browser.

cargo doc --open

Official Rust and Cargo 1 documentation

More build and run commands

All build and run commands · Rust and Cargo 1 cheatsheet

Was this page helpful?