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