Skip to content

chore(deps): upgrade derive_more to 2.1#154

Merged
otavio merged 1 commit intomasterfrom
chore/upgrade-derive-more
Apr 22, 2026
Merged

chore(deps): upgrade derive_more to 2.1#154
otavio merged 1 commit intomasterfrom
chore/upgrade-derive-more

Conversation

@otavio
Copy link
Copy Markdown
Member

@otavio otavio commented Apr 22, 2026

Summary

  • Bumps derive_more from 0.99 to 2.1 (MSRV 1.81, compatible with our 1.82.0).
  • Enables the newly required std feature (all non-std features are disabled by default in 2.x).
  • Migrates the src/error.rs display attributes from #[display(fmt = "...")] to the new #[display("...")] syntax.
  • Adds a CHANGES.md entry.

Context

Audit of every direct dependency against MSRV 1.82.0 found derive_more as the only direct crate with a major upgrade available that still honors the MSRV. All other direct deps were already at their latest semver-compatible versions. Transitive crates held back by async-std (syn 1.x, event-listener 2.x, async-channel 1.x) were left untouched — tracked separately under #153 with a proposed smol migration in a follow-up PR.

This supersedes #150 (Dependabot's equivalent bump) — closing that PR is fine once this lands.

Test plan

  • cargo check (default features) — clean
  • cargo check --features futures_support,tokio_support — clean
  • cargo test --features futures_support,tokio_support — 35 tests + 12 doc-tests pass
  • CI: Linux / Windows / macOS matrix green

- Bump derive_more from 0.99 to 2.1 and enable the required `std` feature
- Migrate `#[display(fmt = "...")]` attributes to the new `#[display("...")]` syntax
- Record the upgrade in CHANGES.md referencing #154
@otavio otavio merged commit 5283d14 into master Apr 22, 2026
15 checks passed
@otavio otavio deleted the chore/upgrade-derive-more branch April 22, 2026 01:25
@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 24755250108

Coverage increased (+12.0%) to 76.17%

Details

  • Coverage increased (+12.0%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 1666
Covered Lines: 1269
Line Coverage: 76.17%
Coverage Strength: 59.21 hits per line

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants