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 ConfigConfiguration information for Cargo operations
spec: &'a PackagePackage to remove dependencies from
dependencies: Vec<String>Dependencies to remove
section: DepTableWhich dependency section to remove these from
dry_run: boolWhether or not to actually write the manifest