Crate features / num_enum_derive
Feature flags · num_enum_derive 0.7.6 · from crates.io 2026-10-24
num_enum_derive features: what each one does, and the line to copy
Short answernum_enum_derive 0.7.6 has 3 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.70.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
complex-expressions | syn/full | |
external_doc | nothing else (a switch the code checks) | |
std | yes | proc-macro-crate |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version num_enum_derive declares (rust-version), and the release that changed it:
- 0.6.0 (2023-04-03): Rust 1.56.0
- 0.7.3 (2024-07-29): Rust 1.70.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p num_enum_derive --precise <version>, or use resolver 3, which picks compatible versions for you.
More on num_enum_derive
docs.rs feature list · crates.io · license BSD-3-Clause OR MIT OR Apache-2.0 · edition 2021
Up next
Next crateFeature flags for every popular crateRead it next →Also worth your time
Did this answer your question?