qpdb / mentat

A persistent, relational store inspired by Datomic and DataScript.
https://mentat.rs/
Apache License 2.0
52 stars 2 forks source link

Update indexmap requirement from ~1.7 to ~1.9 #316

Open dependabot[bot] opened 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on indexmap to permit the latest version.

Changelog

Sourced from indexmap's changelog.

  • 1.9.0

    • MSRV: Rust 1.56.1 or later is now required.

    • The hashbrown dependency has been updated to version 0.12.

    • IterMut and ValuesMut now implement Debug.

    • The new IndexMap::shrink_to and IndexSet::shrink_to methods shrink the capacity with a lower bound.

    • The new IndexMap::move_index and IndexSet::move_index methods change the position of an item from one index to another, shifting the items between to accommodate the move.

  • 1.8.2

    • Bump the rustc-rayon dependency, for compiler use only.
  • 1.8.1

    • The new IndexSet::replace_full will return the index of the item along with the replaced value, if any, by @​zakcutner in PR 222.
  • 1.8.0

    • The new IndexMap::into_keys and IndexMap::into_values will consume the map into keys or values, respectively, matching Rust 1.54's HashMap methods, by @​taiki-e in PR 195.

    • More of the iterator types implement Debug, ExactSizeIterator, and FusedIterator, by @​cuviper in PR [196].

    • IndexMap and IndexSet now implement rayon's ParallelDrainRange, by @​cuviper in PR [197].

    • IndexMap::with_hasher and IndexSet::with_hasher are now const functions, allowing static maps and sets, by @​mwillsey in PR [203].

    • IndexMap and IndexSet now implement From for arrays, matching Rust 1.56's implementation for HashMap, by @​rouge8 in PR [205].

    • IndexMap and IndexSet now have methods sort_unstable_keys, sort_unstable_by, sorted_unstable_by, and par_* equivalents, which sort in-place without preserving the order of equal items, by @​bhgomes in PR [211].

... (truncated)

Commits
  • 3222203 Merge pull request #231 from cuviper/release-1.9.0
  • 9eda24a Add a release note for move_index
  • 8d02160 Use u8 test indices so quickcheck is less likely to go out of bounds.
  • be700ef Add move_index to change the position of an entry
  • 511280a Add an MSRV note for retain_mut
  • 75de999 cargo fmt
  • 855b8ee Bump MSRV to 1.56.1, matching hashbrown as of 0.12.1
  • 971f8b9 Hide unnecessary iterator visibility
  • 20cf99a Documentation assertion in erase_index function
  • 3921adf Fix clippy::needless_borrow
  • 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 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)