Add support for eviction listener to the following caches (#145[gh-pull-0145]).
Eviction listener is a callback function that will be called when an entry is
removed from the cache.
sync::Cache
sync::SegmentedCache
future::Cache
Add a crate feature sync for enabling and disabling sync caches.
(#143[gh-pull-0143])
This feature is enabled by default.
When using experimental dash cache, opting out of sync will reduce the
number of dependencies.
Add a crate feature logging to enable optional log crate dependency.
(#159[gh-pull-0159])
Currently log will be emitted only when an eviction listener has panicked.
Version 0.8.6
Fixed
Fix a bug caused invalidate_all and invalidate_entries_if of the following
caches will not invalidate entries inserted just before calling them
(#155[gh-issue-0155]):
sync::Cache
sync::SegmentedCache
future::Cache
Experimental dash::Cache
Version 0.8.5
Added
Add basic stats (entry_count and weighted_size) methods to all caches.
(#137[gh-pull-0137])
Add Debug impl to the following caches (#138[gh-pull-0138]):
sync::Cache
sync::SegmentedCache
future::Cache
unsync::Cache
Fixed
Remove unnecessary K: Clone bound from the following caches when they are Clone
(#133[gh-pull-0133]):
sync::Cache
... (truncated)
Commits
d8a8c1a Update hard-coded version numbers in the README and doc comments
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)
Updates the requirements on moka to permit the latest version.
Changelog
Sourced from moka's changelog.
... (truncated)
Commits
d8a8c1a
Update hard-coded version numbers in the README and doc commentsbdca477
Merge pull request #161 from moka-rs/nexta158e82
Update the change log (v0.9.0)02fe6c8
Merge pull request #145 from moka-rs/eviction-listener317b0ab
Support notification on eviction2aff444
Support notification on evictionfc8d7ee
Support notification on eviction823f7e3
Support notification on eviction6a5b974
Support notification on eviction5e0b978
Support notification on evictionDependabot 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)