[dependencies.futures]
version = "0.3.31"
[dependencies.rand]
version = "0.8.5"
[dependencies.redis]
version = "0.27.5"
[dependencies.thiserror]
version = "2.0.3"
[dependencies.tokio]
features = ["rt", "time"]
version = "1.41.1"
[dev-dependencies.anyhow]
version = "^1.0.93"
[dev-dependencies.once_cell]
version = "^1.20.2"
[dev-dependencies.testcontainers]
version = "^0.23.1"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "^1.41.1"
[dev-dependencies.tokio-test]
version = "^0.4.4"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "from_clients"
path = "examples/from_clients.rs"
[[example]]
name = "shared_lock"
path = "examples/shared_lock.rs"
[features]
async-std-comp = ["redis/async-std-rustls-comp"]
default = ["async-std-comp"]
tokio-comp = ["redis/tokio-rustls-comp"]
[lib]
name = "rslock"
path = "src/lib.rs"
[package]
authors = ["Jan-Erik Rediger <badboy@archlinux.us>", "Romain Boces <bocesr@gmail.com>", "hexcowboy <hex@cowboy.dev"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Implementation of the distributed locking mechanism built on top of Async Redis"
edition = "2021"
homepage = "https://github.com/hexcowboy/redlock-async-rs"
keywords = ["distributed", "locking", "dls", "redis", "redlock"]
license = "BSD-3-Clause"
name = "rslock"
readme = "README.md"
repository = "https://github.com/hexcowboy/redlock-async-rs"
version = "0.7.1"