Option to enable redis multiplex-connection manager on AsyncRedisCache
Changed
Show proc-macro documentation on docs.rs
Document needed feature flags
Hide implementation details in documentation
Relax Cached trait's cache_get, cache_get_mut and cache_remove key parameter. Allow K: Borrow<Q>
like std::collections::HashMap and friends. Avoids copies particularly on Cached<String, _> where now
you can do cache.cache_get("key") and before you had to cache.cache_get("key".to_string()).
Note: This is a minor breaking change for anyone manually implementing the Cached trait.
The signatures of cache_get, cache_get_mut, and cache_remove must be updated to include the
additional trait bound on the key type:
Dependency to lazy_static and async_once are removed.
[0.43.0]
Added
Changed
Update redis 0.22.0 -> 0.23.0
Update serial_test 0.10.0 -> 2.0.0
Removed
[0.42.0] / [cached_proc_macro[0.16.0]]
Added
Changed
Better code generation for #[cached] when the sync_writes flag is true.
Removed
[0.41.0]
Added
Changed
Fix "sized" cache types (SizedCache, TimedSizedCache) to check capacity and evict members after insertion.
Fixes bug where continuously inserting a key present in the cache would incorrectly evict the oldest cache member
even though the cache size was not increasing.
Removed
[0.40.0]
Added
Add optional feature flag redis_ahash to enable redis's optional ahash feature
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 cached to permit the latest version.
Changelog
Sourced from cached's changelog.
... (truncated)
Commits
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)