oxcache 0.4.3

A high-performance multi-level cache library for Rust with L1 (memory) and L2 (Redis) caching.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2025-2026 Kirky.X
// SPDX-License-Identifier: MIT
//! Distributed lock module for oxcache.
//!
//! Provides Redis-based distributed locking with TTL, automatic renewal,
//! and reentrant support.
//!
//! # Feature Gate
//!
//! This module requires the `lock` feature (included in `full`).

mod builder;
mod lock;

pub use builder::DistLockBuilder;
pub use lock::DistributedLock;