[dependencies.distributed-lock-core]
version = "0.2.0"
[dependencies.distributed-lock-file]
optional = true
version = "0.2.0"
[dependencies.distributed-lock-mongo]
optional = true
version = "0.2.0"
[dependencies.distributed-lock-mysql]
optional = true
version = "0.2.0"
[dependencies.distributed-lock-postgres]
optional = true
version = "0.2.0"
[dependencies.distributed-lock-redis]
optional = true
version = "0.2.0"
[dev-dependencies]
[features]
default = ["postgres", "redis", "file", "mysql", "mongo"]
file = ["dep:distributed-lock-file"]
mongo = ["dep:distributed-lock-mongo"]
mysql = ["dep:distributed-lock-mysql"]
postgres = ["dep:distributed-lock-postgres"]
redis = ["dep:distributed-lock-redis"]
[lib]
name = "distributed_lock"
path = "src/lib.rs"
[lints.clippy]
uninlined_format_args = "allow"
[package]
authors = ["XuHaoJun <xuhaojuntw@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["concurrency", "asynchronous", "database"]
description = "Distributed locks for Rust with multiple backend support (PostgreSQL, Redis, MySQL, MongoDB, file system)"
edition = "2024"
keywords = ["distributed", "lock", "postgres", "redis", "mongodb"]
license = "MIT"
name = "distributed-lock"
readme = "README.md"
repository = "https://github.com/XuHaoJun/distributed-lock-rs"
resolver = "2"
rust-version = "1.88"
version = "0.2.0"