Cargo Features

[dependencies]
num_enum = { version = "0.7.3", default-features = false, features = ["std", "complex-expressions", "external_doc"] }
std default

Enables std of num_enum_derive

num_enum_derive:

Don't depend on proc-macro-crate in no_std environments because it causes an awkward depndency on serde with std.

See https://github.com/illicitonion/num_enum/issues/18

complex-expressions

Enables complex-expressions of num_enum_derive

external_doc
default = std

disable to use in a no_std environment