Cargo Features

[dependencies]
enum_macros = { version = "0.0.3", default-features = false, features = ["all", "custom_discriminant", "marker_type", "next_variant", "unwrap_variant", "variant_amount"] }
default = all

The all feature is set by default whenever enum_macros is added without default-features = false somewhere in the dependency tree.

all default = custom_discriminant, marker_type, next_variant, unwrap_variant, variant_amount
custom_discriminant all

Affects enum_macros::custom_discriminant

marker_type all

Affects enum_macros::marker_type

next_variant all

Affects enum_macros::next_variant

unwrap_variant all

Affects enum_macros::unwrap_variant

variant_amount all

Affects enum_macros::variant_amount