Rust packaging

From wikinotes
Revision as of 21:36, 9 February 2023 by Will (talk | contribs)

Rust primarily uses rust cargo for packaging.
These packages are referred to as crates.

Project Dependencies

Add Dependency

Update Dependency

Remove Dependency

OS Package Management

See https://doc.rust-lang.org/cargo/commands/cargo-install.html

cargo install my_crate
cargo install my_crate@1.1.1
cargo install --path /path/to/crate