moka 0.12.8

A fast and concurrent cache library inspired by Java Caffeine
Documentation
[[example]]
name = "append_value_async"
required-features = ["future"]

[[example]]
name = "append_value_sync"
required-features = ["sync"]

[[example]]
name = "basics_async"
required-features = ["future"]

[[example]]
name = "basics_sync"
required-features = ["sync"]

[[example]]
name = "bounded_counter_async"
required-features = ["future"]

[[example]]
name = "bounded_counter_sync"
required-features = ["sync"]

[[example]]
name = "cascading_drop_async"
required-features = ["future"]

[[example]]
name = "counter_async"
required-features = ["future"]

[[example]]
name = "counter_sync"
required-features = ["sync"]

[[example]]
name = "eviction_listener_sync"
required-features = ["sync"]

[[example]]
name = "reinsert_expired_entries_sync"
required-features = ["sync"]

[[example]]
name = "size_aware_eviction_sync"
required-features = ["sync"]

[[example]]
name = "try_append_value_async"
required-features = ["future"]

[[example]]
name = "try_append_value_sync"
required-features = ["sync"]
[dependencies.async-lock]
optional = true
version = "3.3"

[dependencies.async-trait]
optional = true
version = "0.1.58"

[dependencies.crossbeam-channel]
version = "0.5.5"

[dependencies.crossbeam-epoch]
version = "0.9.9"

[dependencies.crossbeam-utils]
version = "0.8"

[dependencies.event-listener]
optional = true
version = "5.3"

[dependencies.futures-util]
optional = true
version = "0.3.17"

[dependencies.log]
optional = true
version = "0.4"

[dependencies.once_cell]
version = "1.7"

[dependencies.parking_lot]
version = "0.12"

[dependencies.quanta]
optional = true
version = "0.12.2"

[dependencies.smallvec]
version = "1.8"

[dependencies.tagptr]
version = "0.2"

[dependencies.thiserror]
version = "1.0"

[dependencies.triomphe]
default-features = false
version = ">=0.1.3, <0.1.12"

[dependencies.uuid]
features = ["v4"]
version = "1.1"
[dev-dependencies.actix-rt]
version = "2.8"

[dev-dependencies.ahash]
version = "0.8.3"

[dev-dependencies.anyhow]
version = "1.0.19"

[dev-dependencies.async-std]
features = ["attributes"]
version = "1.12"

[dev-dependencies.env_logger]
version = "0.10.0"

[dev-dependencies.getrandom]
version = "0.2"

[dev-dependencies.paste]
version = "1.0.9"

[dev-dependencies.reqwest]
default-features = false
features = ["rustls-tls"]
version = "0.11.11"

[dev-dependencies.tokio]
features = ["fs", "io-util", "macros", "rt-multi-thread", "sync", "time"]
version = "1.19"

[features]
atomic64 = []
default = ["atomic64", "quanta"]
future = ["async-lock", "async-trait", "event-listener", "futures-util"]
logging = ["log"]
sync = []
unstable-debug-counters = ["future"]

[package]
build = "build.rs"
categories = ["caching", "concurrency"]
description = "A fast and concurrent cache library inspired by Java Caffeine"
documentation = "https://docs.rs/moka/"
edition = "2021"
exclude = [".circleci", ".cirrus.yml", ".devcontainer", ".github", ".gitpod.yml", ".vscode"]
keywords = ["cache", "concurrent"]
license = "MIT OR Apache-2.0"
name = "moka"
readme = "README.md"
repository = "https://github.com/moka-rs/moka"
rust-version = "1.65"
version = "0.12.8"
[package.metadata.docs.rs]
features = ["future", "sync"]
rustdoc-args = ["--cfg", "docsrs"]
[target."cfg(rustver)".build-dependencies.rustc_version]
version = "0.4.0"
[target."cfg(trybuild)".dev-dependencies.trybuild]
version = "1.0"