-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
56 lines (47 loc) · 1.45 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[package]
name = "redust"
version = "0.4.0"
edition = "2021"
repository = "https://github.com/appellation/redust"
license = "MIT"
description = "A simple Redis client for Rust."
keywords = ["redis"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["resp"]
[dependencies]
async-trait = { version = "0.1", optional = true }
bytes = "1.1"
deadpool = { version = "0.9", optional = true }
futures = "0.3"
pin-project-lite = "0.2"
redust-resp = { path = "./resp", version = "0.2", features = ["codec"] }
serde = { version = "1.0", features = ["derive"], optional = true }
serde_bytes = { version = "0.11", optional = true }
tokio = { version = "1.18", features = ["net"] }
tokio-util = { version = "0.7", features = ["codec"] }
tracing = "0.1"
[dev-dependencies]
lazy_static = "1.4"
test-log = { version = "0.2", default-features = false, features = ["trace"] }
tokio = { version = "1.18", features = ["macros", "rt-multi-thread"] }
tokio-test = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"
default-features = false
features = ["env-filter", "fmt"]
[features]
command = ["async-trait", "model"]
pool = ["async-trait", "deadpool"]
model = ["serde", "serde_bytes"]
script = ["serde_bytes"]
[package.metadata.docs.rs]
all-features = true
[[test]]
name = "pool"
path = "tests/pool.rs"
required-features = ["pool"]
[[test]]
name = "script"
path = "tests/script.rs"
required-features = ["script"]