redlock-rs
A rust redlock implementation for distributed, highly-available redis locks.
Installation
[]
= "0.5.3"
Documentation
See: https://docs.rs/rust_redlock/0.1.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?;