cargo-remove --- Remove dependencies from a Cargo.toml manifest file
cargo remove
[options] dependency...
Remove one or more dependencies from a Cargo.toml
manifest.
See the reference for details on environment variables that Cargo reads.
0
: Cargo succeeded.101
: Cargo failed to complete.Remove regex
as a dependency
cargo remove regex
Remove trybuild
as a dev-dependency
cargo remove --dev trybuild
Remove nom
from the x86_64-pc-windows-gnu
dependencies table
cargo remove --target x86_64-pc-windows-gnu nom