Daft icon indicating copy to clipboard operation
Daft copied to clipboard

Bump indexmap from 1.9.3 to 2.5.0

Open dependabot[bot] opened this issue 5 months ago • 1 comments

Bumps indexmap from 1.9.3 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)

dependabot[bot] avatar Sep 16 '24 18:09 dependabot[bot]