cargo remove <DEP_ID...>

Remove dependencies from a Cargo.toml manifest file

Arguments

NameDescription
DEP_ID

Options

NameDescription
--devRemove as development dependency
--buildRemove as build dependency
--target <TARGET>Remove as dependency to the given target platform
-p, --package <SPEC>Package to remove from
--manifest-pathPath to Cargo.toml
-q, --quietDo not print cargo log messages
--dry-runDon't actually write the manifest
-v, --verboseUse verbose output
--color <WHEN>
--frozenRequire Cargo.lock and cache are up to date
--lockedRequire Cargo.lock is up to date
--offlineRun without accessing the network
-h, --helpPrint help information