Crate cargo_edit[−][src]
Show and Edit Cargo's Manifest Files
Structs
CrateName |
A crate specifier. This can be a plain name (e.g. |
Dependency |
A dependency handled by Cargo |
Error |
The Error type. |
LocalManifest |
A Cargo manifest that is available locally. |
Manifest |
A Cargo manifest |
Enums
ErrorKind |
The kind of an error. |
Traits
ResultExt |
Additional methods for |
Functions
find |
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
( |
get_crate_name_from_github |
Query crate name by accessing a github repo Cargo.toml |
get_crate_name_from_gitlab |
Query crate name by accessing a gitlab repo Cargo.toml |
get_crate_name_from_path |
Query crate name by accessing Cargo.toml in a local path |
get_latest_dependency |
Query latest version from crates.io |
Type Definitions
Result |
Convenient wrapper around |