Distributed mutually exclusive locks in MongoDB.
This crate contains only sync implementation.
If you need a async version, use mongo-lock-async crate.
This implementation relies on system time. Ensure that NTP clients on your servers are configured properly.
Installation
Add this crate to Cargo.toml
[]
= "0"
Usage