
cargo-add
List of commands for cargo-add:
-
cargo-add:tldr:1f337 cargo-add: Add a dependency and enable one or more specific features.$ cargo add ${dependency} --features ${feature_1},${feature_2}try on your machineexplain this command
-
cargo-add:tldr:371d4 cargo-add: Add a development or build dependency.$ cargo add ${dependency} --${select}try on your machineexplain this command
-
cargo-add:tldr:4e610 cargo-add: Add the latest version of a dependency to the current project.$ cargo add ${dependency}try on your machineexplain this command
-
cargo-add:tldr:58df0 cargo-add: Add a local crate as a dependency.$ cargo add --path ${path-to-crate}try on your machineexplain this command
-
cargo-add:tldr:97ac4 cargo-add: Add a dependency with all default features disabled.$ cargo add ${dependency} --no-default-featurestry on your machineexplain this command
-
cargo-add:tldr:ca754 cargo-add: Add a specific version of a dependency.$ cargo add ${dependency}@${version}try on your machineexplain this command
-
cargo-add:tldr:ec1bc cargo-add: Add an optional dependency, which then gets exposed as a feature of the crate.$ cargo add ${dependency} --optionaltry on your machineexplain this command