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 default-features = false somewhere in the dependency tree.

debug default = variants

std::fmt::Debug implementation for EnumMap. Requires keys to be Debug 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 be Eq 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.