oxcache 0.4.2

A high-performance multi-level cache library for Rust with L1 (memory) and L2 (Redis) caching.
Documentation
# cargo-deny 配置文件
# 文档: https://embarkstudios.github.io/cargo-deny/

[advisories]
db-urls = ["https://github.com/rustsec/advisory-db"]
ignore = [
    # 历史死代码 ignore 已清理(2026-07)— 下列 crate 已随依赖升级移除(cargo-deny advisory-not-detected):
    #   RUSTSEC-2023-0071 (rsa, sqlx→rsa)       — sqlx 升级后 rsa 已移除
    #   RUSTSEC-2025-0111 (tokio-tar, testcontainers) — testcontainers 升级后已移除
    #   RUSTSEC-2025-0134 (rustls-pemfile, bollard)   — bollard 升级后已移除
    #   RUSTSEC-2025-0141 (bincode, 直接依赖)         — bincode 已替换/移除
    # 新增 unmaintained ignore 请用 { id = "RUSTSEC-XXXX", reason = "..." } 格式
]

[licenses]
allow = [
    "MIT",
    "MIT-0",  # MIT No Attribution - OSI批准
    "Apache-2.0",
    "Apache-2.0 WITH LLVM-exception",
    "BSD-2-Clause",
    "BSD-3-Clause",
    "ISC",
    "Unicode-3.0",
    "Zlib",
    "CC0-1.0",
    "BSL-1.0",  # Boost Software License 1.0 - OSI批准, xxhash-rust使用
]
confidence-threshold = 0.8

# 传递依赖许可证例外
[[licenses.exceptions]]
# rhexdump 是 aerospike-core 的传递依赖,GPL-3.0-or-later 为 copyleft 许可证
# 不能加入全局 allow,仅对此 crate 例外
allow = ["GPL-3.0-or-later"]
crate = "rhexdump"

[bans]
multiple-versions = "warn"
wildcards = "allow"
highlight = "all"
skip = []
skip-tree = []

[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []