Skip to main content

gating_features

Function gating_features 

Source
pub fn gating_features() -> BTreeSet<&'static str>
Expand description

The Cargo features manual/ gates its modules on (#[cfg(feature = "...")]). A project enables only some of them, so the generated manifest declares all of them as expected cfg values.