Cargo Features
[dependencies]
enum-collections = { version = "1.5.0", default-features = false, features = ["debug", "eq", "variants", "ext"] }
- default = debug, eq
-
These default features are set whenever
enum-collections
is added without
somewhere in the dependency tree.default-features = false - debug default = variants
-
std::fmt::Debug
implementation for EnumMap. Requires keys to beDebug
as well. Array of all variants must be available at runtime to generate keys in the Debug output - eq default
-
std::cmp::Eq
implementation for EnumMap. Requires keys to beEq
as well. - variants debug
-
Generates a static array of all variants for the EnumMap. This is required for the
Debug
implementation.Enables variants of enum-collections-macros
- ext
-
Implementations of the
Enumerated
trait for common data types.