Function rsconf::declare_feature
source ยท pub fn declare_feature(name: &str, enabled: bool)
Expand description
Informs the compiler of a feature
with the name name
, possibly enabled.
The feature does not have to be named in Cargo.toml
to be used here or in your code, but any
features dynamically enabled via this script will not participate in dependency resolution.