Cargo Features
[dependencies]
runtime = { version = "0.3.0-alpha.8", default-features = false, features = ["native"] }
- default = native
-
The
native
feature is set by default wheneverruntime
is added without
somewhere in the dependency tree.default-features = false - native default = runtime-native
-
Enables native of runtime-attributes
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.