Escriu per cercar…

Cargo

Install

From the crate’s directory:

shell
cargo install --path .

This builds in release mode and drops the binary into ~/.cargo/bin/ (make sure that’s on your PATH).

Useful flags:

  • --force — reinstall over an existing version
  • --locked — respect Cargo.lock exactly
  • --debug — skip release optimizations for faster install
  • --bin <name> — pick a specific binary if the crate has several
  • --root <dir> — install somewhere other than ~/.cargo

To uninstall: cargo uninstall <crate-name> (the name from Cargo.toml, not the path).

Estàs llegint una vista prèvia.

Inicia sessió amb Google per llegir la pàgina completa.

Inicia sessió amb Google

Amb qualsevol compte de Google. Només et demanarem que acceptis les condicions del servei.