cache2 0.2.3

Performance-first bounded RAM and NVMe hybrid cache
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.98"
name = "cache2"
version = "0.2.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Performance-first bounded RAM and NVMe hybrid cache"
documentation = "https://docs.rs/cache2"
readme = "README.md"
keywords = [
    "cache",
    "nvme",
    "storage",
]
categories = [
    "caching",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/scopedb/cache2"

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

[features]
benchmarking = []
default = []
io-uring = ["dep:io-uring"]

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

[dependencies.crc-fast]
version = "1.10.0"
features = ["std"]
default-features = false

[dependencies.log]
version = "0.4.31"
features = ["kv"]

[dependencies.mea]
version = "0.6.7"

[dependencies.tokio]
version = "1.53.1"
features = [
    "rt",
    "sync",
    "time",
]

[dependencies.twox-hash]
version = "2.1.4"
features = [
    "std",
    "xxhash3_64",
]
default-features = false

[dev-dependencies.quickcheck]
version = "1.1.0"
default-features = false

[dev-dependencies.tokio]
version = "1.53.1"
features = [
    "rt",
    "sync",
    "time",
    "macros",
    "rt-multi-thread",
]

[target.'cfg(all(target_os = "linux", any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "riscv64", target_arch = "loongarch64", target_arch = "powerpc64")))'.dependencies.io-uring]
version = "0.7.14"
optional = true

[target."cfg(unix)".dependencies.libc]
version = "0.2.189"

[lints.clippy]
all = "warn"

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"