cargo remove <DEP_ID...>
Remove dependencies from a Cargo.toml manifest file
Arguments
Options
Name | Description |
---|
--dev | Remove as development dependency |
--build | Remove as build dependency |
--target <TARGET> | Remove as dependency to the given target platform |
-p, --package <SPEC> | Package to remove from |
--manifest-path | Path to Cargo.toml |
-q, --quiet | Do not print cargo log messages |
--dry-run | Don't actually write the manifest |
-v, --verbose | Use verbose output |
--color <WHEN> | |
--frozen | Require Cargo.lock and cache are up to date |
--locked | Require Cargo.lock is up to date |
--offline | Run without accessing the network |
-h, --help | Print help information |