Crate cargo_edit
source · [−]Expand description
Show and Edit Cargo’s Manifest Files
Structs
The CLI error is the error type used at Cargo’s CLI-layer.
A dependency handled by Cargo
A Cargo manifest that is available locally.
A Cargo manifest
Enums
ColorChoice represents the color preferences of an end user.
User-specified crate
Traits
Provides the context
method for Result
.
Additional version functionality
Functions
Whether to color logged output
If a manifest is specified, return that one, otherise perform a manifest search starting from
the current directory.
If a manifest is specified, return that one. If a path is specified, perform a manifest search
starting from there. If nothing is specified, start searching from the current directory
(cwd
).
Get crate features from registry
Query latest version from a registry index
Load Cargo.toml in a local path
Load Cargo.toml from github repo Cargo.toml
Takes a pkgid and attempts to find the path to it’s Cargo.toml
, using cargo
’s metadata
Find the URL of a registry
update registry index for given project
Upgrade an existing requirement to a new version
Lookup all members of the current workspace