[package]
edition = "2024"
rust-version = "1.85"
name = "oxigdal-cache-advanced"
version = "0.1.3"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Advanced multi-tier caching with predictive prefetching and ML-based optimization for OxiGDAL"
homepage = "https://github.com/cool-japan/oxigdal"
documentation = "https://docs.rs/oxigdal-cache-advanced"
readme = "README.md"
keywords = [
"cache",
"science",
"prefetch",
"ml",
"distributed",
]
categories = [
"caching",
"algorithms",
"science",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxigdal"
resolver = "2"
[lib]
name = "oxigdal_cache_advanced"
path = "src/lib.rs"
[[test]]
name = "advanced_prediction_test"
path = "tests/advanced_prediction_test.rs"
[[test]]
name = "coherency_test"
path = "tests/coherency_test.rs"
[[test]]
name = "multi_tier_test"
path = "tests/multi_tier_test.rs"
[[test]]
name = "predictive_test"
path = "tests/predictive_test.rs"
[[test]]
name = "tiering_test"
path = "tests/tiering_test.rs"
[[test]]
name = "write_policy_test"
path = "tests/write_policy_test.rs"
[[bench]]
name = "cache_bench"
path = "benches/cache_bench.rs"
harness = false
[[bench]]
name = "coherency_bench"
path = "benches/coherency_bench.rs"
harness = false
[[bench]]
name = "prediction_models_bench"
path = "benches/prediction_models_bench.rs"
harness = false
[[bench]]
name = "tiering_bench"
path = "benches/tiering_bench.rs"
harness = false
[dependencies.async-trait]
version = "0.1"
[dependencies.byteorder]
version = "1"
[dependencies.bytes]
version = "1"
features = ["serde"]
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"serde",
]
default-features = false
[dependencies.dashmap]
version = "6"
[dependencies.fastrand]
version = "2"
[dependencies.futures]
version = "0.3"
[dependencies.lru]
version = "0.16.3"
[dependencies.num-traits]
version = "0.2"
[dependencies.oxiarc-lz4]
version = "0.2.6"
[dependencies.oxiarc-snappy]
version = "0.2.6"
[dependencies.oxiarc-zstd]
version = "0.2.6"
[dependencies.oxigdal-core]
version = "0.1"
[dependencies.prost]
version = "0.14"
[dependencies.rayon]
version = "1"
[dependencies.scirs2-core]
version = "0.3.4"
[dependencies.serde]
version = "1"
features = [
"derive",
"alloc",
]
default-features = false
[dependencies.serde_json]
version = "1"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
default-features = false
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tonic]
version = "0.14"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
expect_used = "warn"
manual_midpoint = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
panic = "deny"
similar_names = "allow"
suboptimal_flops = "allow"
unwrap_used = "deny"
[lints.rust]
missing_docs = "warn"
unsafe_code = "warn"