Cargo Features
[dependencies]
enumscribe = { version = "0.4.0", default-features = false, features = ["std", "derive", "derive_serde", "serde"] }
- default = derive, derive_serde, std
-
These default features are set whenever
enumscribe
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of enumscribe_derive
Affects
enumscribe::ScribeString
,enumscribe::TryScribeString
,enumscribe::ScribeCowStr
,enumscribe::TryScribeCowStr
… - derive default derive_serde = enumscribe_derive
- derive_serde default serde? = derive, serde
-
Enables serde of enumscribe_derive
- serde derive_serde = derive_serde
-
Enables serde
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.