Crate cargo_edit[−][src]
Expand description
Show and Edit Cargo’s Manifest Files
Structs
A crate specifier. This can be a plain name (e.g. docopt
), a name and a versionreq (e.g.
docopt@^0.8
), a URL, or a path.
A dependency handled by Cargo
The Error type.
A Cargo manifest that is available locally.
A Cargo manifest
Enums
The kind of an error.
Traits
Additional methods for Result
, for easy interaction with this crate.
Additional version functionality
Functions
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
).
Query crate name by accessing a github repo Cargo.toml
Query crate name by accessing a gitlab repo Cargo.toml
Query crate name by accessing Cargo.toml in a local path
Query latest version from a registry index
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
Type Definitions
Convenient wrapper around std::Result
.