Struct cargo_metadata::Dependency [] [src]

pub struct Dependency {
    pub name: String,
    pub req: String,
    // some fields omitted
}

A dependency of the main crate

Fields

Name as given in the Cargo.toml

Whether this is required or optional

Trait Implementations

impl Clone for Dependency
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Dependency
[src]

Formats the value using the given formatter.