moka2 0.13.0

hitdns fork of A fast and concurrent cache library inspired by Java Caffeine
Documentation
[dependencies.async-lock]
optional = true
version = "3.3"

[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]
optional = true
version = "1.7"

[dependencies.parking_lot]
version = "0.12"

[dependencies.portable-atomic]
version = "1.9.0"

[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.once_cell]
version = "1.7"

[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"

[[example]]
name = "append_value_async"
path = "examples/append_value_async.rs"
required-features = ["future"]

[[example]]
name = "append_value_sync"
path = "examples/append_value_sync.rs"
required-features = ["sync"]

[[example]]
name = "basics_async"
path = "examples/basics_async.rs"
required-features = ["future"]

[[example]]
name = "basics_sync"
path = "examples/basics_sync.rs"
required-features = ["sync"]

[[example]]
name = "bounded_counter_async"
path = "examples/bounded_counter_async.rs"
required-features = ["future"]

[[example]]
name = "bounded_counter_sync"
path = "examples/bounded_counter_sync.rs"
required-features = ["sync"]

[[example]]
name = "cascading_drop_async"
path = "examples/cascading_drop_async.rs"
required-features = ["future"]

[[example]]
name = "counter_async"
path = "examples/counter_async.rs"
required-features = ["future"]

[[example]]
name = "counter_sync"
path = "examples/counter_sync.rs"
required-features = ["sync"]

[[example]]
name = "eviction_listener_sync"
path = "examples/eviction_listener_sync.rs"
required-features = ["sync"]

[[example]]
name = "reinsert_expired_entries_sync"
path = "examples/reinsert_expired_entries_sync.rs"
required-features = ["sync"]

[[example]]
name = "size_aware_eviction_sync"
path = "examples/size_aware_eviction_sync.rs"
required-features = ["sync"]

[[example]]
name = "try_append_value_async"
path = "examples/try_append_value_async.rs"
required-features = ["future"]

[[example]]
name = "try_append_value_sync"
path = "examples/try_append_value_sync.rs"
required-features = ["sync"]

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

[lib]
name = "moka2"
path = "src/lib.rs"

[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(armv5te)", "cfg(beta_clippy)", "cfg(kani)", "cfg(mips)", "cfg(rustver)", "cfg(skip_large_mem_tests)", "cfg(trybuild)"]
level = "warn"
priority = 0

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["caching", "concurrency"]
description = "hitdns fork of A fast and concurrent cache library inspired by Java Caffeine"
documentation = "https://docs.rs/moka2/"
edition = "2021"
exclude = [".devcontainer", ".github", ".gitpod.yml", ".vscode"]
keywords = ["cache", "concurrent"]
license = "MIT OR Apache-2.0"
name = "moka2"
readme = "README.md"
repository = "https://github.com/delta4chat/moka"
rust-version = "1.65"
version = "0.13.0"

[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"

[[test]]
name = "entry_api_actix_rt2"
path = "tests/entry_api_actix_rt2.rs"

[[test]]
name = "entry_api_async_std"
path = "tests/entry_api_async_std.rs"

[[test]]
name = "entry_api_sync"
path = "tests/entry_api_sync.rs"

[[test]]
name = "entry_api_tokio"
path = "tests/entry_api_tokio.rs"

[[test]]
name = "runtime_actix_rt2"
path = "tests/runtime_actix_rt2.rs"

[[test]]
name = "runtime_async_std"
path = "tests/runtime_async_std.rs"

[[test]]
name = "runtime_tokio"
path = "tests/runtime_tokio.rs"