cargo doc
Build and view Rust package documentation offline.
- Build and view the default package documentation in the browser:
cargo doc --open
- Build documentation without accessing the network:
cargo doc --offline
- View a particular package's documentation:
cargo doc --open --package {package}
- View a particular package's documentation offline:
cargo doc --open --offline --package {package}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).