redlock-rs
A Rust Redlock implementation for distributed, highly-available redis locks.
Installation
[]
= "0.4.0"
Documentation
See: https://docs.rs/rust_redlock/0.4.0/rust_redlock
Usage
let redlock = new?;
// Acquire the lock of the specified resource.
let lock = redlock.lock?;
// Release the lock of the resource when you are done.
lock.unlock?;