Skip to content

Bump hashbrown to 0.17 (MSRV 1.85)#127

Merged
arthurprs merged 1 commit into
switch-foldhashfrom
hashbrown-0.17
Jun 25, 2026
Merged

Bump hashbrown to 0.17 (MSRV 1.85)#127
arthurprs merged 1 commit into
switch-foldhashfrom
hashbrown-0.17

Conversation

@arthurprs

Copy link
Copy Markdown
Owner

Summary

Bumps hashbrown from 0.16 to 0.17. hashbrown 0.17 raises its own MSRV to 1.85, so the crate's rust-version moves to 1.85 to match.

Stacked on #126 (base switch-foldhash, which is stacked on #124). Merge the lower PRs first.

Changes

Cargo.toml only — two lines:

  • hashbrown 0.160.17
  • rust-version 1.711.85

The only hashbrown surface we use is HashTable (find/find_entry/iter_hash/insert_unique/reserve/allocation_size/with_capacity/iter), and its API is unchanged across the bump — no source changes.

MSRV note

This raises the published MSRV from 1.71 to 1.85; consumers on older toolchains can't use this release. CI's msrv job verifies against rust-version in Cargo.toml, so it picks up 1.85 automatically (no workflow edit needed).

Verification

Locally with the 1.85.0 toolchain: cargo +1.85.0 check compiles for default features, --features stats, and --no-default-features. On stable: cargo test (56 passed, 1 ignored), cargo clippy, cargo doc -D warnings — all clean.

hashbrown 0.17 raises its own MSRV to 1.85, so `rust-version` moves to
1.85 to match. The `HashTable` API we use is unchanged — no code changes,
and the crate compiles on 1.85 with default, `stats`, and no-default-features.
@arthurprs arthurprs marked this pull request as ready for review June 25, 2026 19:12
@arthurprs arthurprs merged commit 4d017e4 into switch-foldhash Jun 25, 2026
12 of 24 checks passed
@arthurprs arthurprs deleted the hashbrown-0.17 branch June 26, 2026 16:43
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