Replace derivative dependency with derive-where (#7324)
# Description
Close #7122.
This PR replaces the unmaintained `derivative` dependency with
`derive-where`.
## Integration
This PR doesn't change the public interfaces.
## Review Notes
The `derivative` crate, previously used to derive basic traits for
structs with generics or enums, is no longer actively maintained. It has
been replaced with the `derive-where` crate, which offers a more
straightforward syntax while providing the same features as
`derivative`.
---------
Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com>
Showing
- Cargo.lock 2 additions, 2 deletionsCargo.lock
- Cargo.toml 1 addition, 1 deletionCargo.toml
- cumulus/pallets/weight-reclaim/Cargo.toml 1 addition, 1 deletioncumulus/pallets/weight-reclaim/Cargo.toml
- cumulus/pallets/weight-reclaim/src/lib.rs 3 additions, 8 deletionscumulus/pallets/weight-reclaim/src/lib.rs
- polkadot/xcm/Cargo.toml 1 addition, 1 deletionpolkadot/xcm/Cargo.toml
- polkadot/xcm/src/lib.rs 4 additions, 10 deletionspolkadot/xcm/src/lib.rs
- polkadot/xcm/src/v3/mod.rs 5 additions, 12 deletionspolkadot/xcm/src/v3/mod.rs
- polkadot/xcm/src/v4/mod.rs 5 additions, 12 deletionspolkadot/xcm/src/v4/mod.rs
- polkadot/xcm/src/v5/mod.rs 5 additions, 12 deletionspolkadot/xcm/src/v5/mod.rs
- prdoc/pr_7324.prdoc 17 additions, 0 deletionsprdoc/pr_7324.prdoc
Please register or sign in to comment