pub struct XTaskMetadata {
pub skip_feature_sets: BTreeSet<BTreeSet<String>>,
pub skip_optional_dependencies: bool,
pub always_include_features: BTreeSet<String>,
pub max_combination_size: Option<usize>,
pub additive_features: BTreeSet<String>,
pub ignore_features: BTreeSet<String>,
pub skip: bool,
}
Fields§
§skip_feature_sets: BTreeSet<BTreeSet<String>>
Allows you to provide a list of combinations that should be skipped. Meaning, that these combinations will not be tested on supersets.
skip_optional_dependencies: bool
Allows you to skip optional dependencies.
always_include_features: BTreeSet<String>
Allows you to provide a list of features that should be always included.
max_combination_size: Option<usize>
Allows you to provide the maximum number of features that should be tested.
additive_features: BTreeSet<String>
A set of features that are considered strictly additive meaning that they only add new functionality and do not change the behavior of the crate.
ignore_features: BTreeSet<String>
A set of features that should be ignored when computing the power set.
skip: bool
Whether to skip the power set.
Implementations§
Source§impl XTaskMetadata
impl XTaskMetadata
pub fn from_package(package: &Package) -> Result<Self>
Trait Implementations§
Source§impl Clone for XTaskMetadata
impl Clone for XTaskMetadata
Source§fn clone(&self) -> XTaskMetadata
fn clone(&self) -> XTaskMetadata
Returns a copy 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 XTaskMetadata
impl Debug for XTaskMetadata
Source§impl Default for XTaskMetadata
impl Default for XTaskMetadata
Source§impl<'de> Deserialize<'de> for XTaskMetadatawhere
XTaskMetadata: Default,
impl<'de> Deserialize<'de> for XTaskMetadatawhere
XTaskMetadata: Default,
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 XTaskMetadata
impl RefUnwindSafe for XTaskMetadata
impl Send for XTaskMetadata
impl Sync for XTaskMetadata
impl Unpin for XTaskMetadata
impl UnwindSafe for XTaskMetadata
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