striped-lock 0.1.0

Striped Lock for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2024 Mek101
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//! # [Striped lock](https://alidg.me/blog/2020/1/11/lock-striping) implementation for rust.
//!
//! Comes with the `std` and `tokio` features, the former enabled by default.
mod batch;
/// Synchronous implementation.
#[cfg(feature = "std")]
pub mod std;
/// Tokio implementation.
#[cfg(feature = "tokio")]
pub mod tokio;

pub use batch::KeyBatch;