Moka 0.12.14
- Fixed a race condition in the
and_compute_withmethod in thefuture::Cache. (#574 by @Squadrick):- When multiple calls are made concurrently for the same key, the
fclosure may read a stale value, causing the first update to be lost when it is overwritten by a later one.
- When multiple calls are made concurrently for the same key, the
- Use
dep:keyword in the crate features. (#577 by @alexanderkjall).
Moka 0.12.13
- Fixed/mitigated use-after-free issues in the hierarchical timer wheels when
ExpiryreturnsNone(Issue #565, reported by @sharksforarms). - Fixed
Expiry::expire_after_updatenot clearing expiration time for expired entries (future::Cache: #549, by @singulared,sync::Cache: #564).
Moka 0.12.12
Bumped the minimum supported Rust version (MSRV) to 1.71.1, released on August 3, 2023 (#555).