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

Bump indexmap from 2.1.0 to 2.5.0 #228

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2024

Bumps indexmap from 2.1.0 to 2.5.0.

Changelog

Sourced from indexmap's changelog.

2.5.0

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

2.4.0

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

2.3.0

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

2.2.6

  • Added trait MutableValues for opt-in mutable access to set values.

2.2.5

  • Added optional borsh serialization support.

2.2.4

  • Added an insert_sorted method on IndexMap, IndexSet, and VacantEntry.
  • Avoid hashing for lookups in single-entry maps.
  • Limit preallocated memory in serde deserializers.

2.2.3

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

2.2.2

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

2.2.1

... (truncated)

Commits
  • 48ed490 Release 2.5.0
  • 139d7ad Merge pull request #340 from cuviper/insert-bounds
  • 1d9b5e3 Add doc examples for insert_before and shift_insert
  • 8ca01b0 Use insert_before for "new" entries in insert_sorted
  • 7224def Add insert_before as an alternate to shift_insert
  • 0247a15 Document and assert index bounds in shift_insert
  • 922c6ad Update the CI badge
  • e482e17 Merge pull request #342 from cuviper/btree-like
  • b63e4a1 Merge pull request #341 from cuviper/from-entry
  • 264e5b7 Add doc aliases like BTreeMap/BTreeSet
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.1.0 to 2.5.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md)
- [Commits](indexmap-rs/indexmap@2.1.0...2.5.0)

---
updated-dependencies:
- dependency-name: indexmap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner September 1, 2024 09:51
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Sep 1, 2024
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