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
//! trait-kit 0.4 `AsyncKit` integration for oxcache.
//!
//! Enable via the `kit` cargo feature. Provides [`OxcacheModule`] — a leaf
//! module (no upstream dependencies) that constructs an oxcache
//! [`CacheBackend`](crate::backend::CacheBackend) capability during
//! [`AsyncKit::build`](trait_kit::AsyncKit::build).
//!
//! # Features
//!
//! - **AsyncKit integration** — `OxcacheModule` implements `AsyncAutoBuilder`
//!   to construct cache backends via the trait-kit dependency injection framework.
//! - **Health checks** — `AsyncHealthCheck` implementation reports backend health
//!   status via `kit.health_check::<OxcacheModule>()`.
//! - **Lifecycle hooks** — `AsyncLifecycle` implementation provides graceful
//!   shutdown via `kit.shutdown()`.

pub mod decorator;
pub mod module;
pub mod observer;
pub mod shutdown;

pub use decorator::{CacheBackendDecorator, register_cache_decorator};
pub use module::{OxcacheConfig, OxcacheModule};
pub use observer::OxcacheBuildObserver;
pub use shutdown::register_cache_shutdown;