[package]
edition = "2024"
rust-version = "1.88"
name = "distributed-lock-mongo"
version = "0.2.0"
authors = ["XuHaoJun <xuhaojuntw@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MongoDB backend for distributed locks using atomic updates and TTL indexes"
readme = "README.md"
keywords = [
"distributed",
"lock",
"mutex",
"mongo",
"mongodb",
]
categories = [
"concurrency",
"asynchronous",
"database",
]
license = "MIT"
repository = "https://github.com/XuHaoJun/distributed-lock-rs"
resolver = "2"
[lib]
name = "distributed_lock_mongo"
path = "src/lib.rs"
[dependencies.distributed-lock-core]
version = "0.2.0"
[dependencies.futures]
version = "0.3"
[dependencies.mongodb]
version = "3"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.uuid]
version = "1"
features = ["v4"]
[lints.clippy]
uninlined_format_args = "allow"