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 wheneverenum_macros
is added without
somewhere in the dependency tree.default-features = false - 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
…