keyed_lock/lib.rs
1//! This crate provides a keyed lock, which allows you to lock a resource based on a key. This is useful when you have a collection of resources and you want to lock individual resources by their key.
2//!
3//! This crate provides both synchronous and asynchronous implementations.
4
5#[cfg(feature = "async")]
6pub mod r#async;
7#[cfg(feature = "sync")]
8pub mod sync;