Struct cargo_pack::CargoPack [] [src]

pub struct CargoPack<'cfg> { /* fields omitted */ }

cargo-pack API

Methods

impl<'cfg> CargoPack<'cfg>
[src]

[src]

create a new CargoPack value

let config = Config::default().unwrap();
let pack = CargoPack::new(&config, None);

[src]

returns the current working space of the package of package_name

[src]

returns the PackConfig value

[src]

returns the Package value of package_name

[src]

decode a value from the manifest toml file.

[src]

returns files defined in package.metadata.pack.files in the Cargo.toml.

Trait Implementations

Auto Trait Implementations

impl<'cfg> !Send for CargoPack<'cfg>

impl<'cfg> !Sync for CargoPack<'cfg>