oxcache 0.2.0

A high-performance multi-level cache library for Rust with L1 (memory) and L2 (Redis) caching.
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Copyright (c) 2025-2026, Kirky.X
//!
//! MIT License
//!
//! Moka memory backend implementation

pub mod backend;

// Re-export main types for convenience
pub use backend::{
    default_memory_backend, moka_memory, moka_memory_with_capacity, moka_memory_with_capacity_and_ttl,
    MokaMemoryBackend, MokaMemoryBackendBuilder,
};