blob: c3dc74b2da61aafb9f537bdbc8121041fe803909 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
Remove dependencies from a Cargo.toml manifest file
Usage: cargo[EXE] remove [OPTIONS] <DEP_ID>...
Arguments:
<DEP_ID>... Dependencies to be removed
Options:
-n, --dry-run Don't actually write the manifest
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
-q, --quiet Do not print cargo log messages
--color <WHEN> Coloring: auto, always, never
--config <KEY=VALUE> Override a configuration value
-Z <FLAG> Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details
-h, --help Print help
Section:
--dev Remove from dev-dependencies
--build Remove from build-dependencies
--target <TARGET> Remove from target-dependencies
Package Selection:
-p, --package [<SPEC>] Package to remove from
Manifest Options:
--manifest-path <PATH> Path to Cargo.toml
--frozen Require Cargo.lock and cache are up to date
--locked Require Cargo.lock is up to date
--offline Run without accessing the network
Run `cargo help remove` for more detailed information.
|