ExpiringSizedCache: Allow specifying explicit TTL when inserting
Changed
Refactor ExpiringSizedCache internals to not require tombstones
ExpiringSizedCache keys must impl Ord
ExpiringSizedCacheremove and insert updated to return only unexpired values
Removed
[0.51.2]
Added
Add get_borrowed methods to ExpiringSizedCache to support cache retrieval using &str / &[T]
when the key types are String / Vec<T>. This is a workaround for issues implementing Borrow
for a generic wrapper type.
Changed
Removed
[0.51.1]
Added
Update documentation and add missing methods to ExpiringSizedCache (clear, configuration methods)
Changed
ExpiringSizedCache: When allocating using with_capacity, allocate enough space to account for
the default max number of tombstone entries
Removed
[0.51.0]
Added
Add ExpiringSizedCache intended for high read scenarios. Currently incompatible with the cached trait and macros.
Changed
Removed
[0.50.0 / [cached_proc_macro[0.21.0]] ]
Added
Add DiskCacheBuilder::set_sync_to_disk_on_cache_change to specify that the cache changes should be written to disk on every cache change.
Add sync_to_disk_on_cache_change to #[io_cached] to allow setting DiskCacheBuilder::set_sync_to_disk_on_cache_change from the proc macro.
Add DiskCacheBuilder::set_connection_config to give more control over the sled connection.
Add connection_config to #[io_cached] to allow setting DiskCacheBuilder::set_connection_config from the proc macro.
Add DiskCache::connection() and DiskCache::connection_mut() to give access to the underlying sled connection.
Add cache_unset_lifespan to cached traits for un-setting expiration on types that support it
Changed
[Breaking] type attribute is now ty
Upgrade to syn2
Corrected a typo in DiskCacheError (de)serialization variants
Signature or DiskCache::remove_expired_entries: this now returns Result<(), DiskCacheError> instead of (), returning an Err(sled::Error) on removing and flushing from the connection.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the all group in /local-registry with 6 updates:
0.49.3
0.51.3
0.4.2
0.4.3
0.4.4
0.4.5
1.0.200
1.0.201
1.0.200
1.0.201
1.0.59
1.0.60
Updates
cached
from 0.49.3 to 0.51.3Changelog
Sourced from cached's changelog.
Commits
Updates
num
from 0.4.2 to 0.4.3Changelog
Sourced from num's changelog.
Commits
1fec852
Merge pull request #436 from cuviper/release-0.4.343bfc6b
Remove old travis-ci metadata1edbd36
Release 0.4.36585c68
Upgrade to 2021 edition9940599
Use the latest version of all num crates8c18cab
Bump MSRV to 1.60Updates
num-bigint
from 0.4.4 to 0.4.5Changelog
Sourced from num-bigint's changelog.
Commits
a6d29fa
Merge pull request #303 from cuviper/release-0.4.59237009
Release 0.4.5a6f3f5b
Merge pull request #302 from cuviper/lints8f2666d
Fix clippy::ptr_arg8bf4881
Fix clippy::unnecessary_fallible_conversionsc992166
Fix clippy::legacy_numeric_constants29c4d04
Nightlycheck-cfg
doesn't liketarget_pointer_width = "128"
9210db6
Merge pull request #236 from cuviper/x86-divb02188d
Skip asm under miriecec8c4
Use inline asm! for x86 DIVUpdates
serde
from 1.0.200 to 1.0.201Release notes
Sourced from serde's releases.
Commits
b4f1bc1
Release 1.0.201029ab46
Merge pull request #2737 from dtolnay/checkcfg220ca0c
Resolve unexpected_cfgs warning20306f4
Fix cfg on test_systemtime_overflowUpdates
serde_derive
from 1.0.200 to 1.0.201Release notes
Sourced from serde_derive's releases.
Commits
b4f1bc1
Release 1.0.201029ab46
Merge pull request #2737 from dtolnay/checkcfg220ca0c
Resolve unexpected_cfgs warning20306f4
Fix cfg on test_systemtime_overflowUpdates
thiserror
from 1.0.59 to 1.0.60Release notes
Sourced from thiserror's releases.
Commits
870d11b
Release 1.0.600ccee7c
Merge pull request #298 from dtolnay/checkcfgcf43d0c
Resolve unexpected_cfgs warningDependabot 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 show