Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update rust crate indexmap to 2.2.3 #39

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 31, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
indexmap dependencies minor 2.0.2 -> 2.2.3

Release Notes

indexmap-rs/indexmap (indexmap)

v2.2.3

Compare Source

  • Added move_index and swap_indices methods to IndexedEntry,
    OccupiedEntry, and RawOccupiedEntryMut, functioning like the existing
    methods on IndexMap.
  • Added shift_insert methods on VacantEntry and RawVacantEntryMut, as
    well as shift_insert_hashed_nocheck on the latter, to insert the new entry
    at a particular index.
  • Added shift_insert methods on IndexMap and IndexSet to insert a new
    entry at a particular index, or else move an existing entry there.

v2.2.2

Compare Source

  • Added indexing methods to raw entries: RawEntryBuilder::from_hash_full,
    RawEntryBuilder::index_from_hash, and RawEntryMut::index.

v2.2.1

Compare Source

  • Corrected the signature of RawOccupiedEntryMut::into_key(self) -> &'a mut K,
    This a breaking change from 2.2.0, but that version was published for less
    than a day and has now been yanked.

v2.2.0

Compare Source

  • The new IndexMap::get_index_entry method finds an entry by its index for
    in-place manipulation.

  • The Keys iterator now implements Index<usize> for quick access to the
    entry's key, compared to indexing the map to get the value.

  • The new IndexMap::splice and IndexSet::splice methods will drain the
    given range as an iterator, and then replace that range with entries from
    an input iterator.

  • The new trait RawEntryApiV1 offers opt-in access to a raw entry API for
    IndexMap, corresponding to the unstable API on HashSet as of Rust 1.75.

  • Many IndexMap and IndexSet methods have relaxed their type constraints,
    e.g. removing K: Hash on methods that don't actually need to hash.

  • Removal methods remove, remove_entry, and take are now deprecated
    in favor of their shift_ or swap_ prefixed variants, which are more
    explicit about their effect on the index and order of remaining items.
    The deprecated methods will remain to guide drop-in replacements from
    HashMap and HashSet toward the prefixed methods.

v2.1.0

Compare Source

  • Empty slices can now be created with map::Slice::{new, new_mut} and
    set::Slice::new. In addition, Slice::new, len, and is_empty are
    now const functions on both types.

  • IndexMap, IndexSet, and their respective Slices all have binary
    search methods for sorted data: map binary_search_keys and set
    binary_search for plain comparison, binary_search_by for custom
    comparators, binary_search_by_key for key extraction, and
    partition_point for boolean conditions.


Configuration

📅 Schedule: Branch creation - "every 2 weeks on Wednesday" (UTC), 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner October 31, 2023 22:54
@renovate renovate bot changed the title fix(deps): update rust crate indexmap to 2.1.0 fix(deps): update rust crate indexmap to 2.2.0 Jan 28, 2024
@renovate renovate bot changed the title fix(deps): update rust crate indexmap to 2.2.0 fix(deps): update rust crate indexmap to 2.2.1 Jan 29, 2024
@renovate renovate bot force-pushed the renovate/indexmap-2.x branch 3 times, most recently from 830e623 to f280771 Compare February 1, 2024 01:10
@renovate renovate bot changed the title fix(deps): update rust crate indexmap to 2.2.1 fix(deps): update rust crate indexmap to 2.2.2 Feb 1, 2024
@renovate renovate bot changed the title fix(deps): update rust crate indexmap to 2.2.2 fix(deps): update rust crate indexmap to 2.2.3 Feb 12, 2024
@rillian
Copy link
Contributor

rillian commented Feb 12, 2024

Nothing we need here. Keep an older mimimum version for broader compatibility.

@rillian rillian closed this Feb 12, 2024
Copy link
Contributor Author

renovate bot commented Feb 12, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (2.2.3). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/indexmap-2.x branch February 12, 2024 18:31
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