evictor 0.7.2

A library for generic caching with configurable eviction policies.
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 = "2024"
rust-version = "1.88.0"
name = "evictor"
version = "0.7.2"
build = "build.rs"
include = [
    "../README.md",
    "benches/**/*",
    "build.rs",
    "examples/**/*",
    "src/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for generic caching with configurable eviction policies."
readme = "README.md"
keywords = [
    "cache",
    "data-structures",
    "eviction",
    "lfu",
    "lru",
]
categories = [
    "caching",
    "data-structures",
    "memory-management",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jesterhearts/evictor"

[package.metadata.docs.rs]
all-features = true

[features]
ENABLE_DOC_AUTO_CFG = []
ahash = ["dep:ahash"]
default = [
    "ahash",
    "rand",
]
internal-debugging = []
rand = ["dep:rand"]
statistics = []

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

[[example]]
name = "lfu"
path = "examples/lfu.rs"

[[bench]]
name = "simple_bench"
path = "benches/simple_bench.rs"
harness = false

[dependencies.ahash]
version = "0.8.12"
features = [
    "compile-time-rng",
    "std",
]
optional = true
default-features = false

[dependencies.indexmap]
version = "2.11.0"

[dependencies.rand]
version = "0.10.1"
optional = true

[dependencies.tether-map]
version = "0.2.0"

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.ntest]
version = "0.9.3"

[build-dependencies.rustc_version]
version = "0.4.1"