Skip to content

chore: Update rust edition to 2024 in Cargo.toml#425

Draft
ValuedMammal wants to merge 3 commits intobitcoindevkit:masterfrom
ValuedMammal:edition_2024
Draft

chore: Update rust edition to 2024 in Cargo.toml#425
ValuedMammal wants to merge 3 commits intobitcoindevkit:masterfrom
ValuedMammal:edition_2024

Conversation

@ValuedMammal
Copy link
Copy Markdown
Collaborator

Description

Notes to the reviewers

WIP: Updates the rust edition in Cargo.toml to 2024.

Changelog notice

Checklists

All Submissions:

  • I ran just p before pushing

This is to reduce noise related to formatting when we change
the rust edition to 2024.
Removed explicit `ref` binding modifiers, as otherwise
rustc complains with "cannot explicitly borrow within an
implicitly borrowing pattern." Refer to
https://doc.rust-lang.org/reference/patterns.html#binding-modes
for details.
Removed style_edition from rustfmt.toml
and ran cargo +nightly fmt.
@ValuedMammal ValuedMammal self-assigned this Mar 31, 2026
@ValuedMammal ValuedMammal added the chore Non-coding related work label Mar 31, 2026
@ValuedMammal ValuedMammal added this to the Wallet 4.0.0 milestone Mar 31, 2026
@ValuedMammal ValuedMammal moved this to In Progress in BDK Wallet Mar 31, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

❌ Patch coverage is 37.50000% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.01%. Comparing base (826b19f) to head (3adf695).

Files with missing lines Patch % Lines
src/wallet/signer.rs 0.00% 4 Missing ⚠️
src/descriptor/policy.rs 40.00% 3 Missing ⚠️
src/wallet/error.rs 0.00% 2 Missing ⚠️
src/wallet/mod.rs 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #425      +/-   ##
==========================================
- Coverage   80.04%   80.01%   -0.03%     
==========================================
  Files          24       24              
  Lines        5336     5338       +2     
  Branches      242      242              
==========================================
  Hits         4271     4271              
- Misses        987      989       +2     
  Partials       78       78              
Flag Coverage Δ
rust 80.01% <37.50%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

chore Non-coding related work

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant