Upgrading derive_more 1 to 2
Breaking1.0.0 → 2.1.1Breaking2Platform1New11Changed3Fixed14
BreakingUpgrade verdict
2 breaking changes and a platform requirement change.
In plain terms
- use derive_more::SomeTrait now imports macro only.
- Top-level #[display("...")] attribute on an enum now has defaulting behavior instead of replacing when no wrapping is possible (no _variant placeholder).
- The minimum supported Rust version (MSRV) is now Rust 1.81.
Must act 3 items need code or config changes
Rust requirement changed in 2.1.0: 1.75.0 → 1.81.0.
What you must change
Breaking2
use derive_more::SomeTrait now imports macro only.
Top-level #[display("...")] attribute on an enum now has defaulting behavior instead of replacing when no wrapping is possible (no _variant placeholder).
#[display("...")]_variantPlatform1
The minimum supported Rust version (MSRV) is now Rust 1.81.