Struct cargo::ops::cargo_remove::RemoveOptions
source · pub struct RemoveOptions<'a> {
pub config: &'a Config,
pub spec: &'a Package,
pub dependencies: Vec<String>,
pub section: DepTable,
pub dry_run: bool,
}
Expand description
Remove a dependency from a Cargo.toml manifest file.
Fields§
§config: &'a Config
Configuration information for Cargo operations
spec: &'a Package
Package to remove dependencies from
dependencies: Vec<String>
Dependencies to remove
section: DepTable
Which dependency section to remove these from
dry_run: bool
Whether or not to actually write the manifest