cargo-remove(1)
NAME
cargo-remove --- Remove dependencies from a Cargo.toml manifest file
SYNOPSIS
cargo remove [options] dependency...
DESCRIPTION
Remove one or more dependencies from a Cargo.toml manifest.
OPTIONS
Section options
Miscellaneous Options
Display Options
Manifest Options
Package Selection
Common Options
ENVIRONMENT
See the reference for details on environment variables that Cargo reads.
EXIT STATUS
0: Cargo succeeded.101: Cargo failed to complete.
EXAMPLES
-
Remove
regexas a dependencycargo remove regex -
Remove
trybuildas a dev-dependencycargo remove --dev trybuild -
Remove
nomfrom thex86_64-pc-windows-gnudependencies tablecargo remove --target x86_64-pc-windows-gnu nom