Struct buildsrs_protocol::types::BuildEnv
source · pub struct BuildEnv {
pub variant: Variant,
pub target: String,
pub features: BTreeSet<String>,
pub default_features: bool,
pub environment: BTreeMap<String, String>,
pub dependencies: BTreeMap<String, String>,
}
Expand description
Build environment
This struct contains all inputs needed for the build.
Fields§
§variant: Variant
Name of this variant
target: String
Target triple to build for
features: BTreeSet<String>
Crate features to activate
default_features: bool
Enable default features
environment: BTreeMap<String, String>
Environment variables to set
dependencies: BTreeMap<String, String>
Additional dependencies to install
Trait Implementations§
source§impl<'de> Deserialize<'de> for BuildEnv
impl<'de> Deserialize<'de> for BuildEnv
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 RefUnwindSafe for BuildEnv
impl Send for BuildEnv
impl Sync for BuildEnv
impl Unpin for BuildEnv
impl UnwindSafe for BuildEnv
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