oxcache 0.5.0-rc.7

A production-grade multi-level cache library for Rust: L1 memory (Moka/DashMap) + L2 distributed (Redis/Valkey/Dragonfly/Aerospike) + optional L3 disk (redb).
// Copyright (c) 2025-2026 Kirky.X🌠
// SPDX-License-Identifier: MIT
// Unit Tests Module
//
// Contains all unit tests for the cache system.
// These tests verify individual component functionality.

#![allow(clippy::duplicate_mod)]
// 目标内容依赖 memory 后端与 serde 序列化(memory 隐含 serialization)
#![cfg(feature = "memory")]

mod common;

#[path = "unit/serialization_test.rs"]
mod serialization_test;

#[path = "unit/error_test.rs"]
mod error_test;

#[path = "unit/depth_limited_test.rs"]
mod depth_limited_test;

#[path = "unit/traits_test.rs"]
mod traits_test;

#[path = "unit/dashmap_backend_test.rs"]
mod dashmap_backend_test;

#[path = "unit/redis_client_test.rs"]
mod redis_client_test;

#[path = "unit/metrics_test.rs"]
mod metrics_test;

#[path = "unit/utils_redaction_test.rs"]
mod utils_redaction_test;

#[path = "unit/utils_security_log_test.rs"]
mod utils_security_log_test;

#[path = "unit/cache_builder_test.rs"]
mod cache_builder_test;

#[path = "unit/cache_test.rs"]
mod cache_test;

#[path = "unit/mock_backend_test.rs"]
mod mock_backend_test;

#[path = "unit/moka_backend_test.rs"]
mod moka_backend_test;

#[path = "unit/penetration_guard_test.rs"]
mod penetration_guard_test;

#[path = "unit/backend_interface_test.rs"]
mod backend_interface_test;