pub struct InputFile {
    pub crate_name: String,
    pub repository: Option<String>,
    pub license: Option<String>,
    pub rustdoc: String,
    pub dependencies: HashMap<String, (String, Version)>,
    pub scope: Scope,
}

Fields

crate_name: String

The name of the crate.

repository: Option<String>

The repository url (if specified).

license: Option<String>

The license field (if specified).

rustdoc: String

The unmodified rustdoc string

dependencies: HashMap<String, (String, Version)>

The crate-level dependencies, mapping the valid identifier in rust code to the (possibly renamed, containing invalid characters, etc.) crate name and version.

scope: Scope

The scope at the crate root.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.