Struct find_crate::Package [−][src]
The package data. This has information on the current package name, original package name, and specified version.
Fields
name: StringThe current name of the package. This is always a valid rust identifier.
version: StringThe version requirement of the package. Returns * if no version
requirement is specified.
Implementations
impl Package[src]
impl Package[src]pub fn original_name(&self) -> &str[src]
Returns the original package name.
pub fn is_original(&self) -> bool[src]
Returns true if the value of the name field is the original package
name.