[package]
edition = "2021"
rust-version = "1.89"
name = "oxistore-cache"
version = "0.1.3"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OxiStore cache eviction primitives: Pure-Rust LRU and full ARC (Adaptive Replacement Cache)"
readme = "README.md"
keywords = [
"lru",
"arc",
"cache",
"eviction",
"cooljapan",
]
categories = [
"algorithms",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxistore"
[features]
async-helpers = ["dep:tokio"]
blob = [
"dep:oxistore-blob",
"dep:bytes",
"dep:async-trait",
"dep:tokio",
]
cache = []
columnar = [
"dep:oxistore-columnar",
"dep:arrow",
"dep:parquet",
]
default = []
sql = ["dep:oxisql-core"]
[lib]
name = "oxistore_cache"
path = "src/lib.rs"
[[test]]
name = "advanced_cache"
path = "tests/advanced_cache.rs"
[[test]]
name = "arc"
path = "tests/arc.rs"
[[test]]
name = "lfu_tinylfu"
path = "tests/lfu_tinylfu.rs"
[[test]]
name = "lru"
path = "tests/lru.rs"
[[test]]
name = "new_features"
path = "tests/new_features.rs"
[[test]]
name = "proptest_cache"
path = "tests/proptest_cache.rs"
[[bench]]
name = "cache_ops"
path = "benches/cache_ops.rs"
[dependencies.ahash]
version = "0.8"
[dependencies.arrow]
version = "58.3.0"
optional = true
[dependencies.async-trait]
version = "0.1"
optional = true
[dependencies.bytes]
version = "1"
optional = true
[dependencies.hashlink]
version = "0.11"
[dependencies.oxisql-core]
version = "0.1.2"
optional = true
[dependencies.oxistore-blob]
version = "0.1.3"
optional = true
[dependencies.oxistore-columnar]
version = "0.1.3"
optional = true
[dependencies.oxistore-core]
version = "0.1.3"
[dependencies.parquet]
version = "58.3.0"
features = [
"arrow",
"experimental",
]
optional = true
default-features = false
[dependencies.tokio]
version = "1"
features = [
"fs",
"io-util",
"sync",
"rt",
"rt-multi-thread",
"macros",
"time",
]
optional = true
[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"fs",
"io-util",
"sync",
"rt",
"rt-multi-thread",
"macros",
"time",
"macros",
"rt-multi-thread",
]