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

Update indexmap requirement from 1.9.3 to 2.2.1 #11

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 29, 2024

Updates the requirements on indexmap to permit the latest version.

Changelog

Sourced from indexmap's changelog.

  • 2.2.1

    • 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.
  • 2.2.0

    • 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.

  • 2.1.0

    • 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.

  • 2.0.2

    • The hashbrown dependency has been updated to version 0.14.1 to complete the support for Rust 1.63.
  • 2.0.1

    • MSRV: Rust 1.63.0 is now supported as well, pending publication of

... (truncated)

Commits
  • 7264ce4 Merge pull request #304 from cuviper/raw-into_key
  • 244bd81 Fix RawOccupiedEntryMut::into_key
  • 7107c49 Merge pull request #303 from cuviper/test-updates
  • 34a7af7 Allow clippy::style
  • 382a45c Upgrade dev-dep itertools to 0.12
  • 904689f ci: upgrade to actions/checkout@v4
  • 405fa10 Merge pull request #302 from cuviper/release-2.2.0
  • d84bf5e Release 2.2.0
  • 9edb1a4 Merge pull request #300 from cuviper/raw_entry_v1
  • a1495fd Merge pull request #301 from cuviper/unstringify
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [indexmap](https://github.com/indexmap-rs/indexmap) to permit the latest version.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md)
- [Commits](indexmap-rs/indexmap@1.9.3...2.2.1)

---
updated-dependencies:
- dependency-name: indexmap
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from larseggert as a code owner January 29, 2024 15:42
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 29, 2024
Copy link
Author

dependabot bot commented on behalf of github Feb 5, 2024

Superseded by #14.

@dependabot dependabot bot closed this Feb 5, 2024
@dependabot dependabot bot deleted the dependabot/cargo/indexmap-2.2.1 branch February 5, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants