Rust packaging: Difference between revisions
From wikinotes
No edit summary |
|||
Line 4: | Line 4: | ||
= Project Dependencies = | = Project Dependencies = | ||
<blockquote> | <blockquote> | ||
For full details, see [[rust cargo]]. | |||
== Add Dependency == | == Add Dependency == | ||
<blockquote> | <blockquote> |
Revision as of 21:37, 9 February 2023
Rust primarily uses rust cargo for packaging.
These packages are referred to as crates.
Project Dependencies
For full details, see rust cargo.
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