Struct cargo_make::types::ExternalConfig
[−]
[src]
pub struct ExternalConfig { pub extend: Option<String>, pub config: Option<ConfigSection>, pub env: Option<IndexMap<String, EnvValue>>, pub tasks: Option<IndexMap<String, Task>>, }
Holds the entire externally read configuration such as task definitions and env vars where all values are optional
Fields
extend: Option<String>
Path to another toml file to extend
config: Option<ConfigSection>
Runtime config
env: Option<IndexMap<String, EnvValue>>
The env vars to setup before running the tasks
tasks: Option<IndexMap<String, Task>>
All task definitions
Methods
impl ExternalConfig
[src]
pub fn new() -> ExternalConfig
[src]
Creates and returns a new instance.