pub struct LandConfig {
pub version: String,
pub workbench: Option<WorkbenchConfig>,
pub features: Option<HashMap<String, FeatureConfig>>,
pub binary: Option<BinaryConfig>,
pub profiles: HashMap<String, Profile>,
pub templates: Option<Templates>,
pub env_prefixes: Option<HashMap<String, String>>,
pub build_commands: Option<HashMap<String, String>>,
pub environment_variables: Option<EnvironmentVariableInventory>,
pub cli: Option<CliConfig>,
}Expand description
The main configuration structure loaded from land-config.json
Fields§
§version: StringConfiguration version
workbench: Option<WorkbenchConfig>Workbench configuration
features: Option<HashMap<String, FeatureConfig>>Feature flags configuration
binary: Option<BinaryConfig>Binary configuration
profiles: HashMap<String, Profile>Build profiles (debug, production, release, etc.)
templates: Option<Templates>Default template values
env_prefixes: Option<HashMap<String, String>>Environment variable prefixes per crate
build_commands: Option<HashMap<String, String>>Build command templates
environment_variables: Option<EnvironmentVariableInventory>Environment variable inventory
cli: Option<CliConfig>CLI configuration
Trait Implementations§
Source§impl Clone for LandConfig
impl Clone for LandConfig
Source§fn clone(&self) -> LandConfig
fn clone(&self) -> LandConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LandConfig
impl Debug for LandConfig
Source§impl<'de> Deserialize<'de> for LandConfig
impl<'de> Deserialize<'de> for LandConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LandConfig
impl RefUnwindSafe for LandConfig
impl Send for LandConfig
impl Sync for LandConfig
impl Unpin for LandConfig
impl UnwindSafe for LandConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more