Changed
- Disable the `quanta` feature by default. ([482][gh-pull-0482])
- Replaced most uses of `quanta::Instant` with `std::time::Instant` to increase the
accuracy of time measurements ([481][gh-pull-0481]):
- When `quanta` feature is enabled, `quanta::Instant` is used for some
performance critical parts in the cache, and `std::time::Instant` is used for
the rest of the parts.
- However, as of this version, enabling the `quanta` feature will not make any
noticeable difference in the performance.
- When `quanta` feature is disabled (default), `std::time::Instant` is used for
all time measurements.
- Switched to `AtomicU64` of the `portable-atomic` crate, which provides fallback
implementations for platforms where `std` `AtomicU64` is not available
([480][gh-pull-0480]):
- `moka`'s `atomic64` feature no longer has any effect on the build as
`AtomicU64` is now always available on all platforms. But we keep the
`atomic64` feature in `Cargo.toml` for backward compatibility.