aperf
aperf copied to clipboard
Bump indexmap from 2.1.0 to 2.3.0
Bumps indexmap from 2.1.0 to 2.3.0.
Changelog
Sourced from indexmap's changelog.
2.3.0
- Added trait
MutableEntryKeyfor opt-in mutable access to map entry keys.- Added method
MutableKeys::iter_mut2for opt-in mutable iteration of map keys and values.2.2.6
- Added trait
MutableValuesfor opt-in mutable access to set values.2.2.5
- Added optional
borshserialization support.2.2.4
- Added an
insert_sortedmethod onIndexMap,IndexSet, andVacantEntry.- Avoid hashing for lookups in single-entry maps.
- Limit preallocated memory in
serdedeserializers.2.2.3
- Added
move_indexandswap_indicesmethods toIndexedEntry,OccupiedEntry, andRawOccupiedEntryMut, functioning like the existing methods onIndexMap.- Added
shift_insertmethods onVacantEntryandRawVacantEntryMut, as well asshift_insert_hashed_nocheckon the latter, to insert the new entry at a particular index.- Added
shift_insertmethods onIndexMapandIndexSetto 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
- 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_entrymethod finds an entry by its index for in-place manipulation.The
Keysiterator now implementsIndex<usize>for quick access to the entry's key, compared to indexing the map to get the value.
... (truncated)
Commits
22c0b4eMerge pull request #335 from epage/mut39f7cc0Release 2.3.06049d51feat(map): Add MutableKeys::iter_mut265c3c46feat(map): Add MutableEntryKey7f7d39fMerge pull request #332 from waywardmonkeys/missing-indentation-in-doc-comment8222a59Fix missing indentation in doc comment.1a71ddeMerge pull request #327 from waywardmonkeys/dep-update-dev-dep-itertoolsac2a8a5deps(dev): Updateitertools3f0fffbMerge pull request #323 from cuviper/mutable33c1a7cFixunused_imports- 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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)