Skip to content

chore(deps): bump socket2 from 0.5.10 to 0.6.4 - #121

Merged
jacderida merged 1 commit into
mainfrom
dependabot/cargo/socket2-0.6.4
Aug 25, 2026
Merged

chore(deps): bump socket2 from 0.5.10 to 0.6.4#121
jacderida merged 1 commit into
mainfrom
dependabot/cargo/socket2-0.6.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor

Bumps socket2 from 0.5.10 to 0.6.4.

Changelog

Sourced from socket2's changelog.

0.6.4

0.6.3

  • Added support for wasm32-wasip2.
  • Added Socket::(set_)ip_transparent_v6.
  • Added Socket::set_tcp_ack_frequency.
  • Support windows-sys v0.61 in addition to v0.60.

POTENTIALLY BREAKING The MSRV of windows-sys v0.61 is 1.71. To use socket2 with its MSRV of 1.70, please downgrade windows-sys to v0.60.x. This can be done using: cargo update windows-sys --precise 0.60.2

0.6.2

  • MsgHdr and MsgHdrMut are marked as transparent meaning both have the same layout as msghdr on Unix and WSAMSG on Windows (rust-lang/socket2#635).
  • Don't set SO_NOSIGPIPE when accepting sockets, this is inherited from the parent socket (rust-lang/socket2#632).
  • Fixes Socket::tcp_notsent_lowat by using the correct argument type (rust-lang/socket2#622).

0.6.1

Added

Changed

... (truncated)

Commits

@dependabot @github

dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark Results

Performance Comparison

Benchmark Baseline Current Change Status

Summary

Configuration

  • Regression threshold: >10% slower
  • Improvement threshold: >10% faster
  • Measurements: Mean execution time

@dependabot
dependabot Bot force-pushed the dependabot/cargo/socket2-0.6.4 branch from ddbfeed to 6ca0b6f Compare July 18, 2026 16:54

@jacderida jacderida left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Pre-merge assessment

Assessed with Claude Code before merging. All the bumps in this batch were applied together on top of current main (651a2dad) in a scratch worktree, rather than relying on the CI runs recorded here (some of which are from a base ~29 commits stale). On that combined tree:

  • cargo check --all-targets — clean
  • cargo clippy --all-targets -- -D warnings — clean
  • cargo test --lib — 1498 passed, 0 failed

Specific to this PR:

socket2 0.6 is largely a renaming release: set_ttlset_ttl_v4, TCP options gaining a tcp_ prefix, SockAddr now wrapping a SockAddrStorage. None of those are on paths we use. Our entire socket2 surface is Socket::new, bind, set_send_buffer_size/set_recv_buffer_size, set_only_v6, set_reuse_address, set_reuse_port, set_nonblocking and SockRef::from (in src/config/port_binding.rs and src/high_level/endpoint.rs) — all unchanged in 0.6.

Bonus: this deduplicates socket2 to a single copy in the tree.

Risk: low.

The failing linear-link / pr-template checks are the release-process gate from pr-checks.yml, not a code signal; merging with admin override.

@jacderida

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/cargo/socket2-0.6.4 branch from 6ca0b6f to f4c20d6 Compare August 25, 2026 19:12
@jacderida

Copy link
Copy Markdown
Member

@dependabot rebase

7 similar comments
@jacderida

Copy link
Copy Markdown
Member

@dependabot rebase

@jacderida

Copy link
Copy Markdown
Member

@dependabot rebase

@jacderida

Copy link
Copy Markdown
Member

@dependabot rebase

@jacderida

Copy link
Copy Markdown
Member

@dependabot rebase

@jacderida

Copy link
Copy Markdown
Member

@dependabot rebase

@jacderida

Copy link
Copy Markdown
Member

@dependabot rebase

@jacderida

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [socket2](https://github.com/rust-lang/socket2) from 0.5.10 to 0.6.4.
- [Release notes](https://github.com/rust-lang/socket2/releases)
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/socket2/commits)

---
updated-dependencies:
- dependency-name: socket2
  dependency-version: 0.6.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@jacderida
jacderida force-pushed the dependabot/cargo/socket2-0.6.4 branch from f4c20d6 to 1a9862b Compare August 25, 2026 19:50
@jacderida

Copy link
Copy Markdown
Member

Rebased onto current main — the conflict was Cargo.lock only (churn from the other dependency PRs merging ahead of this one). Dependabot's commit is preserved as-is; the lockfile was regenerated with cargo update -p socket2@0.5.10, which drops the stale 0.5.10 entry and leaves a single socket2 0.6.4 in the tree. cargo metadata --locked is clean. Assessment above is unchanged.

@jacderida
jacderida merged commit e8f4b69 into main Aug 25, 2026
11 of 13 checks passed
@dependabot
dependabot Bot deleted the dependabot/cargo/socket2-0.6.4 branch August 25, 2026 19:51
@dependabot @github

dependabot Bot commented on behalf of github Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

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.

1 participant