Skip to content

Conversation

@dignifiedquire
Copy link
Contributor

Description

Updates all dependencies to their latest versions

Breaking Changes

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

@github-actions
Copy link

github-actions bot commented Jul 12, 2025

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/net-tools/pr/30/docs/net_tools/

Last updated: 2025-07-14T10:05:42Z

@dignifiedquire dignifiedquire changed the title feat: update deps to latest feat!: edition2024, MSRV 1.85 and update deps to latest Jul 12, 2025
Copy link

@rklaehn rklaehn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine. Mostly changes forced by clippy and the rand stuff.

Copy link
Member

@matheus23 matheus23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how bad the impact of a double socket2 dependency is, but generally this looks good 👍

"libc",
"pin-project-lite",
"socket2",
"socket2 0.5.10",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like tokio, hyper and a bunch of other libs aren't on socket2 version 0.6 yet.
Should we perhaps not upgrade that dependency yet, so we don't duplicate?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine for now, socket2@0.6 is quite new, and the duplication will reduce once those deps update

Copy link
Contributor

@flub flub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The editions are still left to 2021? Unless you meant rustfmt edition 2024, in which case we should also configure a style_edition = "2024" in rustffmt.toml (https://doc.rust-lang.org/edition-guide/rust-2024/rustfmt-style-edition.html)?

@dignifiedquire
Copy link
Contributor Author

The editions are still left to 2021?

fixed

@dignifiedquire dignifiedquire merged commit c3476f3 into main Jul 14, 2025
27 checks passed
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in iroh Jul 14, 2025
@dignifiedquire dignifiedquire deleted the deps-update branch July 14, 2025 10:39
github-merge-queue bot pushed a commit to n0-computer/iroh that referenced this pull request Jul 23, 2025
## Description

Updates dependencies where possible.

Closes #3385 

Depends on 
- [x] n0-computer/net-tools#30

## Breaking Changes

All crates are now `edition2024`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

5 participants