Struct cargo_edit::CrateName [−][src]
pub struct CrateName<'a>(_);Expand description
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.
Implementations
Does this specify a versionreq?
Is this a URI?
If this crate specifier includes a version (e.g. docopt@0.8), extract the name and
version.
Will parse this crate name on the assumption that it is a URI.