Cargo Features
EnumSet has no features set by default.
[dependencies]
enumset = { version = "1.1.5", features = ["alloc", "serde", "proc-macro-crate", "std"] }
- alloc std?
- serde = serde2
-
Enables serde of enumset_derive
Affects
traits::EnumSetTypePrivate.serialize
,traits::EnumSetTypePrivate.deserialize
… - proc-macro-crate
-
Enables proc-macro-crate of enumset_derive
- std = alloc
-
Deprecated features
Enables proc-macro-crate and std_deprecation_warning of enumset_derive
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.