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.
Commits
ac0a901 Merge pull request #261 from moka-rs/update-feature-table
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)
Bumps moka from 0.10.2 to 0.11.0.
Changelog
Sourced from moka's changelog.
Commits
ac0a901
Merge pull request #261 from moka-rs/update-feature-table5f8a5d3
Update the READMEdc711fe
Merge pull request #260 from moka-rs/per-entry-expiration-277730eb
Per-entry expiration: Add more tests20e3f37
Per-entry expiration: Write more docsff64dcb
Per-entry expiration: Write more docs4519216
Per-entry expiration: Add more tests131d65e
Per-entry expiration: Add more tests6f9a27f
Per-entry expiration4bc8553
Merge pull request #259 from moka-rs/fix-deq-mutating-through-shared-refDependabot 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)