-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
38 lines (31 loc) · 978 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "rslock"
version = "0.6.0"
authors = [
"Jan-Erik Rediger <badboy@archlinux.us>",
"Romain Boces <bocesr@gmail.com>",
"hexcowboy <hex@cowboy.dev",
]
keywords = ["distributed", "locking", "dls", "redis", "redlock"]
description = "Implementation of the distributed locking mechanism built on top of Async Redis"
homepage = "https://github.com/hexcowboy/redlock-async-rs"
repository = "https://github.com/hexcowboy/redlock-async-rs"
license = "BSD-3-Clause"
readme = "README.md"
edition = "2021"
[features]
async-std-comp = ["redis/async-std-comp"]
tokio-comp = ["redis/tokio-comp"]
default = ["async-std-comp"]
[dependencies]
redis = { version = "0.27.5" }
tokio = { version = "1.41.1", features = ["rt", "time"] }
rand = "0.8.5"
futures = "0.3.31"
thiserror = "2.0.3"
[dev-dependencies]
once_cell = "^1.20.2"
testcontainers = "^0.23.1"
anyhow = "^1.0.93"
tokio = { version = "^1.41.1", features = ["macros", "rt-multi-thread"] }
tokio-test = "^0.4.4"