Skip to content

[3.0.0 prep] Base: Update dependencies as far as MSRV 1.85 allows - #400

Draft
cicku wants to merge 2 commits into
rust-pcap:mainfrom
cicku:deps-msrv-1.64
Draft

[3.0.0 prep] Base: Update dependencies as far as MSRV 1.85 allows#400
cicku wants to merge 2 commits into
rust-pcap:mainfrom
cicku:deps-msrv-1.64

Conversation

@cicku

@cicku cicku commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

bitflags 1.3 -> 2.13
errno 0.2 -> 0.3
windows-sys 0.36 -> 0.60
etherparse 0.13 -> 0.15
mockall 0.11 -> 0.12


Supersedes #378. However, the version could either be 2.5.1, 2.6.0 or 3.0.0, I will leave it to the project maintainer.

@Wojtek242

Copy link
Copy Markdown
Collaborator

Thanks for this! I think many windows users will appreciate the update.

Having carefully considered this, I would like to bump the major version to 3.0.0 as I would consider this a breaking change. Many have tried this windows dependency update and I can't do it myself since I don't use windows so I think it is worth doing it.

Since I will be be bumping the major version, I will also do two more things:

  • I will bump the rust edition to 2024
  • I will bump MSRV to 1.85
    • For the MSRV I usually guide myself with what does Debian ship and trixie ships 1.85. Bookworm is technically still LTS but since it ships 1.63 and I had to bump MSRV to 1.64 for reasons I no longer remember then it's not relevant.
    • Rust edition 2024 also required 1.85

Therefore, if you would like to be bolder with the dependency updates, you are welcome to do so up to MSRV 1.85. If you've had enough that's also okay. I'll take what you've done so far and ship the new update.

What do you think?

@Wojtek242

Copy link
Copy Markdown
Collaborator

I also see you've set your eye on a few other potential PRs. If there will be a major version bump now would be the time to do them as you will have some freedom to break a few things if they make your life easier (without make the changes too cumbersome). I would encourage you to submit those PRs. I will then wait until you say you're done with PRs so there would be no rush.

@cicku

cicku commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

Yes - this PR doesn't require immediate merge if we target 3.x. I will rebase accordingly and get back to you soon.

@cicku
cicku marked this pull request as draft August 20, 2026 04:40
@cicku cicku changed the title Update dependencies as far as MSRV 1.64 allows [3.0.0 prep] Update dependencies as far as MSRV 1.85 allows Aug 20, 2026
@cicku cicku changed the title [3.0.0 prep] Update dependencies as far as MSRV 1.85 allows [3.0.0 prep] Base: Update dependencies as far as MSRV 1.85 allows Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants