Icelk / kvarn

An extensible and efficient forward-thinking web server for the future.
https://kvarn.org
Apache License 2.0
15 stars 1 forks source link

build(deps): update moka requirement from 0.10 to 0.11 #22

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on moka to permit the latest version.

Changelog

Sourced from moka's changelog.

Version 0.11.0

Added

  • Added support for per-entry expiration (#248[gh-pull-0248]):
    • In addition to the existing TTL and TTI (time-to-idle) expiration times that apply to all entries in the cache, the sync and future caches can now allow different expiration times for individual entries.
  • Added the remove method to the sync and future caches (#255):
    • Like the invalidate method, this method discards any cached value for the key, but returns a clone of the value.

Fixed

  • Fixed the caches mutating a deque node through a NonNull pointer derived from a shared reference. (#259[gh-pull-0259])

Removed

  • Removed unsync cache that was marked as deprecated in v0.10.0.

Version 0.10.2

Bumped the minimum supported Rust version (MSRV) to 1.60 (2022-04-07). (#252[gh-issue-0252])

Changed

  • Upgraded quanta crate to v0.11.0. (#251[gh-pull-0251])
    • This resolved "[RUSTSEC-2020-0168]: mach is unmaintained" (#243[gh-issue-0243]) by replacing mach with mach2.
    • quanta v0.11.0's MSRV is 1.60, so we also bumped the MSRV of Moka to 1.60.

Version 0.10.1

Fixed

  • Fixed a bug that future cache's blocking().invalidate(key) method does not trigger the eviction listener. (#242[gh-issue-0242])

Changed

  • Now sync and future caches will not cache anything when the max capacity is set to zero (#230[gh-issue-0230]):
    • Previously, they would cache some entries for short time (< 0.5 secs) even though the max capacity is zero.

... (truncated)

Commits
  • ac0a901 Merge pull request #261 from moka-rs/update-feature-table
  • 5f8a5d3 Update the README
  • dc711fe Merge pull request #260 from moka-rs/per-entry-expiration-2
  • 77730eb Per-entry expiration: Add more tests
  • 20e3f37 Per-entry expiration: Write more docs
  • ff64dcb Per-entry expiration: Write more docs
  • 4519216 Per-entry expiration: Add more tests
  • 131d65e Per-entry expiration: Add more tests
  • 6f9a27f Per-entry expiration
  • 4bc8553 Merge pull request #259 from moka-rs/fix-deq-mutating-through-shared-ref
  • 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)