Skip to content

Update Rust crate indexmap to 2.14.2 - #238

Merged
simu merged 1 commit into
mainfrom
renovate/indexmap-2.x
Nov 17, 2026
Merged

simu merged 1 commit into
mainfrom
renovate/indexmap-2.x

Conversation

@renovate

@renovate renovate Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
indexmap dependencies minor 2.2.6 → 2.14.2

Release Notes

indexmap-rs/indexmap (indexmap)

v2.14.2

Compare Source

  • Fix item hygiene in map and set macros. Previously, an internal const CAP
    could shadow the same name in the caller's namespace.
  • Allow const initialization of empty indexmap_with_default! and
    indexset_with_default!. The hasher may also be omitted if it's inferrable.

v2.14.1

Compare Source

  • Simplify comparisons where Equivalent isn't needed (Q = K).
  • Unify index assertions for bounds checks.
  • Fix (or expect) clippy lints.

v2.14.0

Compare Source

  • MSRV: Rust 1.85.0 or later is now required.
  • Updated the hashbrown dependency to 0.17.
  • Made more map::Slice methods const: new_mut, first_mut, last_mut,
    split_at_mut, split_at_mut_checked, split_first_mut, split_last_mut

v2.13.1

Compare Source

  • Made some Slice methods const:
    • map::Slice::{first,last,split_at,split_at_checked,split_first,split_last}
    • set::Slice::{first,last,split_at,split_at_checked,split_first,split_last}

v2.13.0

Compare Source

  • Implemented Clone for IntoKeys and IntoValues.
  • Added map::Slice::split_at_checked and split_at_mut_checked.
  • Added set::Slice::split_at_checked.

v2.12.1

Compare Source

  • Simplified a lot of internals using hashbrown's new bucket API.

v2.12.0

Compare Source

  • MSRV: Rust 1.82.0 or later is now required.
  • Updated the hashbrown dependency to 0.16 alone.
  • Error types now implement core::error::Error.
  • Added pop_if methods to IndexMap and IndexSet, similar to the
    method for Vec added in Rust 1.86.

v2.11.4

Compare Source

  • Updated the hashbrown dependency to a range allowing 0.15 or 0.16.

v2.11.3

Compare Source

  • Make the minimum serde version only apply when "serde" is enabled.

v2.11.2

Compare Source

  • Switched the "serde" feature to depend on serde_core, improving build
    parallelism in cases where other dependents have enabled "serde/derive".

v2.11.1

Compare Source

  • Added a get_key_value_mut method to IndexMap.
  • Removed the unnecessary Ord bound on insert_sorted_by methods.

v2.11.0

Compare Source

  • Added insert_sorted_by and insert_sorted_by_key methods to IndexMap,
    IndexSet, and VacantEntry, like customizable versions of insert_sorted.
  • Added is_sorted, is_sorted_by, and is_sorted_by_key methods to
    IndexMap and IndexSet, as well as their Slice counterparts.
  • Added sort_by_key and sort_unstable_by_key methods to IndexMap and
    IndexSet, as well as parallel counterparts.
  • Added replace_index methods to IndexMap, IndexSet, and VacantEntry
    to replace the key (or set value) at a given index.
  • Added optional sval serialization support.

v2.10.0

Compare Source

  • Added extract_if methods to IndexMap and IndexSet, similar to the
    methods for HashMap and HashSet with ranges like Vec::extract_if.
  • Added more #[track_caller] annotations to functions that may panic.

v2.9.0

Compare Source

  • Added a get_disjoint_mut method to IndexMap, matching Rust 1.86's
    HashMap method.
  • Added a get_disjoint_indices_mut method to IndexMap and map::Slice,
    matching Rust 1.86's get_disjoint_mut method on slices.
  • Deprecated the borsh feature in favor of their own indexmap feature,
    solving a cyclic dependency that occurred via borsh-derive.

v2.8.0

Compare Source

  • Added indexmap_with_default! and indexset_with_default! to be used with
    alternative hashers, especially when using the crate without std.
  • Implemented PartialEq between each Slice and []/arrays.
  • Removed the internal rustc-rayon feature and dependency.

v2.7.1

Compare Source

  • Added #[track_caller] to functions that may panic.
  • Improved memory reservation for insert_entry.

v2.7.0

Compare Source

  • Added methods Entry::insert_entry and VacantEntry::insert_entry, returning
    an OccupiedEntry after insertion.

v2.6.0

Compare Source

  • Implemented Clone for map::IntoIter and set::IntoIter.
  • Updated the hashbrown dependency to version 0.15.

v2.5.0

Compare Source

  • Added an insert_before method to IndexMap and IndexSet, as an
    alternative to shift_insert with different behavior on existing entries.
  • Added first_entry and last_entry methods to IndexMap.
  • Added From implementations between IndexedEntry and OccupiedEntry.

v2.4.0

Compare Source

  • Added methods IndexMap::append and IndexSet::append, moving all items from
    one map or set into another, and leaving the original capacity for reuse.

v2.3.0

Compare Source

  • Added trait MutableEntryKey for opt-in mutable access to map entry keys.
  • Added method MutableKeys::iter_mut2 for opt-in mutable iteration of map
    keys and values.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependency label Nov 17, 2026
@simu
simu enabled auto-merge November 17, 2026 12:25
@github-actions

Copy link
Copy Markdown

Benchmark for a849676

Click to view benchmark
Test Base PR %
Reclass::inventory() multi-threaded 1590.6±83.11µs 1605.2±116.99µs +0.92%
Reclass::inventory() single-threaded 3.7±0.07ms 3.7±0.05ms 0.00%
Reclass::render_node() many classes on one key 108.8±5.43ms 110.3±5.46ms +1.38%

@simu
simu merged commit 5170b51 into main Nov 17, 2026
22 checks passed
@simu
simu deleted the renovate/indexmap-2.x branch November 17, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant