Cargo Features
[dependencies]
derive_enum = { version = "0.2.2", default-features = false, features = ["name", "from_str", "iter"] }
- default = from_str, iter, name
-
These default features are set whenever
derive_enum
is added without
somewhere in the dependency tree.default-features = false - name default = derive_enum_macros
-
Enables name of derive_enum_macros
Affects
derive_enum::Name
… - from_str default = derive_enum_macros
-
Enables from_str of derive_enum_macros
- iter default = derive_enum_macros
-
Enables iter of derive_enum_macros
Affects
derive_enum::Iter
…
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.