derive_more-impl breaking changes
cargo7 curated breaking changes across major versions of derive_more-impl. Use this as a migration checklist before bumping dependencies.
- v1.0.0 \u2192 v2.0.0breaking
`use derive_more::SomeTrait` now imports macro only. Importing macro with its trait along is possible now via `use derive_more::with_trait::SomeTrait`. ([#406](https://github.com/JelteF/derive_more/pull/406))
- v1.0.0 \u2192 v2.0.0breaking
Top-level `#[display("...")]` attribute on an enum now has defaulting behavior instead of replacing when no wrapping is possible (no `_variant` placeholder). ([#395](https://github.com/JelteF/derive_more/pull/395))
- v1.0.0-beta.7 \u2192 v1.0.0breaking
The minimum supported Rust version (MSRV) is now Rust 1.75.
- v1.0.0-beta.7 \u2192 v1.0.0breaking
Add the `std` feature which should be disabled in `no_std` environments.
- v1.0.0-beta.7 \u2192 v1.0.0breaking
All Cargo features, except `std`, are now disabled by default. The `full` feature can be used to get the old behavior of supporting all possible derives.
- v1.0.0-beta.7 \u2192 v1.0.0breaking
The `TryFrom`, `Add`, `Sub`, `BitAnd`, `BitOr`, `BitXor`, `Not` and `Neg` derives now return a dedicated error type instead of a `&'static str` on error.
- v1.0.0-beta.7 \u2192 v1.0.0breaking
The `FromStr` derive now uses a dedicated `FromStrError` error type instead of generating unique one each time.
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cargo/derive_more-impl