Cargo Features

[dependencies]
num_enum_derive = { version = "0.7.2", default-features = false, features = ["std", "complex-expressions", "external_doc"] }
std default = proc-macro-crate

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 full of syn

external_doc
default = std

disable to use in a no_std environment

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

proc-macro-crate std