Struct cargo_make::types::CrateInfo[][src]

pub struct CrateInfo {
    pub package: Option<PackageInfo>,
    pub workspace: Option<Workspace>,
    pub dependencies: Option<IndexMap<String, CrateDependency>>,

Holds crate information loaded from the Cargo.toml file.


package info

workspace info

crate dependencies


impl CrateInfo

Creates and returns a new instance.

Trait Implementations

impl Debug for CrateInfo

Formats the value using the given formatter. Read more

impl Clone for CrateInfo

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for CrateInfo

impl Sync for CrateInfo