Crate features / derive_more-impl
Feature flags · derive_more-impl 2.1.1 · from crates.io 2026-10-24
derive_more-impl features: what each one does, and the line to copy
Short answerderive_more-impl 2.1.1 has 27 features. Nothing is on by default: turn on what you use. It needs Rust 1.81.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
add | syn/extra-traits, syn/visit | |
add_assign | syn/extra-traits, syn/visit | |
as_ref | syn/extra-traits, syn/visit | |
constructor | nothing else (a switch the code checks) | |
debug | syn/extra-traits, dep:unicode-xid | |
deref | nothing else (a switch the code checks) | |
deref_mut | nothing else (a switch the code checks) | |
display | syn/extra-traits, dep:unicode-xid, dep:convert_case | |
eq | syn/extra-traits, syn/visit | |
error | syn/extra-traits | |
from | syn/extra-traits | |
from_str | syn/full, syn/visit, dep:convert_case | |
full | add, add_assign, as_ref, constructor, debug, deref, deref_mut, display, eq, error, from, from_str, index, index_mut, into, into_iterator, is_variant, mul, mul_assign, not, sum, try_from, try_into, try_unwrap, unwrap | |
index | nothing else (a switch the code checks) | |
index_mut | nothing else (a switch the code checks) | |
into | syn/extra-traits, syn/visit-mut | |
into_iterator | nothing else (a switch the code checks) | |
is_variant | dep:convert_case | |
mul | syn/extra-traits, syn/visit | |
mul_assign | syn/extra-traits, syn/visit | |
not | syn/extra-traits | |
sum | nothing else (a switch the code checks) | |
testing-helpers | syn/full | |
try_from | nothing else (a switch the code checks) | |
try_into | syn/extra-traits, syn/full, syn/visit-mut | |
try_unwrap | dep:convert_case | |
unwrap | dep:convert_case |
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 derive_more-impl declares (rust-version), and the release that changed it:
- 1.0.0-beta.1 (2023-07-23): Rust 1.65.0
- 1.0.0-beta.6 (2023-10-19): Rust 1.72.0
- 1.0.0-beta.7 (2024-08-01): Rust 1.75.0
- 2.1.0 (2025-12-02): Rust 1.81.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p derive_more-impl --precise <version>, or use resolver 3, which picks compatible versions for you.
More on derive_more-impl
docs.rs feature list · crates.io · license MIT · edition 2021
Up next
Next crateFeature flags for every popular crateRead it next →Also worth your time
Did this answer your question?