Struct lal::Manifest [] [src]

pub struct Manifest {
    pub name: String,
    pub environment: String,
    pub supportedEnvironments: Vec<String>,
    pub components: BTreeMap<String, ComponentConfiguration>,
    pub dependencies: BTreeMap<String, u32>,
    pub devDependencies: BTreeMap<String, u32>,
    // some fields omitted
}

Representation of manifest.json

Fields

Name of the main component

Default environment to build in

All the environments dependencies can currently be found in

Components and their available configurations that are buildable

Dependencies that are always needed

Development dependencies

Methods

impl Manifest
[src]

[src]

Initialize a manifest struct based on a name

The name is assumed to be the default component and will create a component configuration for it with its default values.

[src]

Merge dependencies and devDependencies into one convenience map

[src]

Read a manifest file in PWD

[src]

Read a manifest file in an arbitrary path

[src]

Update the manifest file in the current folder

[src]

Verify assumptions about configurations

Trait Implementations

impl Clone for Manifest
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Manifest
[src]

[src]

Returns the "default value" for a type. Read more