pub fn crate_features<'a>(
config: &'a GlobalConfig,
package: &'a PackageMetadata<'a>,
) -> Result<(BTreeSet<String>, BTreeMap<PlatformVariant, Vec<String>>), Error>
Expand description
Returns a set of Cargo features that are common to all platforms, and then any additional features that need to be enabled for a specific platform.