cache-mod 1.0.0

High-performance in-process caching with multiple eviction policies (LRU, LFU, TinyLFU, TTL, size-bounded). Async-safe, lock-minimized internals. Typed key-value API. No dependency on any external store.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.75"
name = "cache-mod"
version = "1.0.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance in-process caching with multiple eviction policies (LRU, LFU, TinyLFU, TTL, size-bounded). Async-safe, lock-minimized internals. Typed key-value API. No dependency on any external store."
homepage = "https://github.com/jamesgober/cache-mod"
documentation = "https://docs.rs/cache-mod"
readme = "README.md"
keywords = [
    "cache",
    "concurrent",
    "lfu",
    "ttl",
    "lru",
]
categories = [
    "caching",
    "data-structures",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/cache-mod"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["std"]
std = []

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

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

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

[[bench]]
name = "cache_ops"
path = "benches/cache_ops.rs"
harness = false
required-features = ["std"]

[dependencies]

[dev-dependencies.criterion]
version = "0.5"
default-features = false

[dev-dependencies.proptest]
version = "1"
features = ["std"]
default-features = false

[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 2

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = "symbols"