Skip to content

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Oct 18, 2025

  • MSRV: Rust 1.82.0 or later is now required.
  • Error types now implement core::error::Error.
  • Added pop_back_if and pop_front_if methods to RingMap and
    RingSet.
  • Deprecated map and set insert_full in favor of push_back and
    push_front.
  • Added new Entry back/front methods and deprecated the old:
    • insert => push_back, push_front
    • insert_entry => push_back_entry, push_front_entry
    • or_default => or_push_back_default, or_push_front_default
    • or_insert => or_push_back, or_push_front
    • or_insert_with => or_push_back_with, or_push_front_with
    • or_insert_with_key => or_push_back_with_key, or_push_front_with_key

It's the same type as from `std::collections::hash_map`, just a
different export path, so this isn't a breaking change.

(cherry picked from commit 38fb76a)
(cherry picked from commit c115d26)
(cherry picked from commit 09db3cc)
I think it doesn't really matter in this internal-only case, but it's
still closer to the true intent.

(cherry picked from commit 76b459b)
(cherry picked from commit c7178d7)
@cuviper cuviper added this pull request to the merge queue Oct 18, 2025
Merged via the queue into indexmap-rs:main with commit 36c5486 Oct 18, 2025
16 checks passed
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