Sitelet https://github.com/n0-computer/net-tools/pull/239
Skip to content

deps: bump deps - #239

Merged
flub merged 5 commits into
mainfrom
Frando/bump-deps-2
Oct 5, 2026
Merged

flub merged 5 commits into
mainfrom
Frando/bump-deps-2

Conversation

@Frando

@Frando Frando commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Description

API Changes

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All API changes documented.
  • This PR was created by a human that thought critically about the
    proposed change and wrote an as clear and concise description as
    they could.
  • This PR isn't slop, and is carefully crafted to do have the
    intented effect.
  • cargo make passes locally.

@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

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

Last updated: 2026-10-05T14:49:18Z

@n0bot n0bot Bot added this to iroh Sep 28, 2026
@github-project-automation github-project-automation Bot moved this to 🚑 Needs Triage in iroh Sep 28, 2026
@flub

flub commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

Please tick the boxes :)

@Frando

Frando commented Sep 28, 2026 •

Copy link
Copy Markdown
Member Author

Please tick the boxes :)

Now done

@Frando
Frando requested a review from flub September 28, 2026 11:07
Comment thread Cargo.lock
"proc-macro2",
"quote",
"syn 3.0.3",
"syn 3.0.6",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

oh no. at some point we only had a single version of syn in our deps... when did we loose this (clearly not this PR)? My bad for not using cargo-deny for this when it was first spotted.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah. portmapper has 3 syn versions in-tree (1, 2, and 3). I think there's not much to do about it apart from hoping that it collapses to version 3 sometime soonish, or helping out. I think most of our own derive macro crates are using syn@2. But serde derive is using syn@3, so we should move to that. syn@1 is used by ntest, which we might not need (it's only used for a single test).

TLDR I don't think we can do much about it here right now.

Comment thread portmapper/Cargo.toml

[dependencies]
base64 = "0.22.1"
base64 = "0.23.1"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this introduces a new duplicate dependency. is it worth it?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

In iroh we have both versions in any case because current reqwest has a dependency on base64@0.23.
The dependency on base64@0.22 will go out of our tree over time hopefully as other upstream deps update.

But yes, it adds a duplicate dependency to portmapper. It will go away once igd-next is released, because then we can remove the attohttpc dependency (that currently pulls in base64@0.22) entirely (see dariusc93/rust-igd#23)

@flub flub left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, we need to get better at justifying duplicate dependencies I think.

@eshcheglov-aster

Copy link
Copy Markdown

The netlink-* version bump is great because the current version of netlink-packet-core depends on an unmaintained package (paste), so we've had to maintain our own fork with that dependency removed. net-tools is the only remaining component that still uses the old version of netlink-packet-core. Looking forward to seeing this merged. Good job!

@flub
flub enabled auto-merge October 5, 2026 14:49
@flub
flub added this pull request to the merge queue Oct 5, 2026
Merged via the queue into main with commit abc8fa1 Oct 5, 2026
34 checks passed
@flub
flub deleted the Frando/bump-deps-2 branch October 5, 2026 14:53
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.

3 participants