Skip to main content

Module cargo

Module cargo 

Source
Expand description

cargo install as a package source for Rust crates.

Not a system package manager: it is never auto-detected and has no field of its own in a [[deps]] group. A group routes an entry here by writing it as cargo:<crate> in any manager’s list, so each manager decides per package whether to use its own package or build the crate.

Structs§

Cargo
Installs crates with cargo install --locked into Cargo’s own bin directory ($CARGO_HOME/bin); no root privileges.

Constants§

PREFIX
Prefix that routes a [[deps]] entry to Cargo.