- Fixed occasional panic in internal
FrequencySketch
in debug build. (#21)
- Fixed a memory corruption bug caused by the timing of concurrent
insert
,get
and removal of the same cached entry. (#15).
Bumped the minimum supported Rust version (MSRV) to 1.61 (May 19, 2022). (#5)
- Fixed the caches mutating a deque node through a
NonNull
pointer derived from a shared reference. (#6).
In this version, we removed some dependencies from Mini Moka to make it more lightweight.
- Remove the background threads from the
sync::Cache
(#1):- Also remove the following dependencies:
scheduled-thread-pool
num_cpus
once_cell
(Moved to the dev-dependencies)
- Also remove the following dependencies:
- Remove the following dependencies and crate features (#2):
- Removed dependencies:
quanta
parking_lot
rustc_version
(from the build-dependencies)
- Removed crate features:
quanta
(was enabled by default)atomic64
(was enabled by default)
- Removed dependencies:
- Move the relevant source code from the GitHub moka-rs/moka repository (at
v0.9.6 tag) to this moka-rs/mini-moka repository.
- Rename
moka::dash
module tomini_moka::sync
. - Rename
moka::unsync
module tomini_moka::unsync
. - Rename a crate feature
dash
tosync
and make it a default.
- Rename