Daft
Daft copied to clipboard
Bump indexmap from 1.9.3 to 2.5.0
Bumps indexmap from 1.9.3 to 2.5.0.
Changelog
Sourced from indexmap's changelog.
2.5.0
- Added an
insert_before
method toIndexMap
andIndexSet
, as an alternative toshift_insert
with different behavior on existing entries.- Added
first_entry
andlast_entry
methods toIndexMap
.- Added
From
implementations betweenIndexedEntry
andOccupiedEntry
.2.4.0
- Added methods
IndexMap::append
andIndexSet::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 onIndexMap
,IndexSet
, andVacantEntry
.- Avoid hashing for lookups in single-entry maps.
- Limit preallocated memory in
serde
deserializers.2.2.3
- Added
move_index
andswap_indices
methods toIndexedEntry
,OccupiedEntry
, andRawOccupiedEntryMut
, functioning like the existing methods onIndexMap
.- Added
shift_insert
methods onVacantEntry
andRawVacantEntryMut
, as well asshift_insert_hashed_nocheck
on the latter, to insert the new entry at a particular index.- Added
shift_insert
methods onIndexMap
andIndexSet
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
, andRawEntryMut::index
.2.2.1
... (truncated)
Commits
48ed490
Release 2.5.0139d7ad
Merge pull request #340 from cuviper/insert-bounds1d9b5e3
Add doc examples forinsert_before
andshift_insert
8ca01b0
Useinsert_before
for "new" entries ininsert_sorted
7224def
Addinsert_before
as an alternate toshift_insert
0247a15
Document and assert index bounds inshift_insert
922c6ad
Update the CI badgee482e17
Merge pull request #342 from cuviper/btree-likeb63e4a1
Merge pull request #341 from cuviper/from-entry264e5b7
Add doc aliases likeBTreeMap
/BTreeSet
- 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)