Breaking change: The type of the max_capacity has been changed from usize
to u64. This was necessary to have the weight-based cache management consistent
across different CPU architectures.
Added
Add support for weight-based (size aware) cache management.
(#24[gh-pull-0024])
Add support for unbound cache. (#24[gh-pull-0024])
Version 0.6.3
Fixed
Fix a bug in get_or_insert_with and get_or_try_insert_with methods of
future::Cache, which caused a panic if previously inserting task aborted.
(#59[gh-issue-0059])
Version 0.6.2
Removed
Remove Send and 'static bounds from get_or_insert_with and
get_or_try_insert_with methods of future::Cache. (#53[gh-pull-0053])
Fixed
Protect overflow when computing expiration. (#56[gh-pull-0056])
Version 0.6.1
Changed
Replace futures with futures-util. (#47[gh-pull-0047])
Version 0.6.0
Fixed
Fix a bug in get_or_insert_with and get_or_try_insert_with methods of
future::Cache and sync::Cache; a panic in the init future/closure
causes subsequent calls on the same key to get "unreachable code" panics.
(#43[gh-issue-0043])
... (truncated)
Commits
8ad63dc Merge pull request #62 from moka-rs/prepare-v0.7.0
609ea8f Update the doc and README for v0.7.0 release
ecbbd99 Exclude .circleci from package and remove dev-container configs
fb29073 Merge pull request #61 from moka-rs/lazy-lfu
17852f0 Lazily initialize and enable the LFU filter
ab318a1 Lazily initialize and enable the LFU filter
4f2dc48 Lazily initialize and enable the LFU filter
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
8ad63dc
Merge pull request #62 from moka-rs/prepare-v0.7.0609ea8f
Update the doc and README for v0.7.0 releaseecbbd99
Exclude.circleci
from package and remove dev-container configsfb29073
Merge pull request #61 from moka-rs/lazy-lfu17852f0
Lazily initialize and enable the LFU filterab318a1
Lazily initialize and enable the LFU filter4f2dc48
Lazily initialize and enable the LFU filter2f385bf
Update the CHANGELOG81dc598
Lazily initialize and enable the LFU filter6ee4da7
Lazily initialize the LFU filterDependabot 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)