-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCargo.toml
114 lines (103 loc) · 2.48 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[package]
name = "rustis"
version = "0.1.0"
keywords = ["redis", "database", "async", "cluster", "sentinel"]
categories = ["database", "asynchronous"]
description = "Redis async driver for Rust"
homepage = "https://github.com/dahomey-technologies/rustis"
repository = "https://github.com/dahomey-technologies/rustis"
documentation = "https://docs.rs/rustis"
readme = "README.md"
license-file = "LICENSE"
edition = "2021"
[features]
default = ["tokio-runtime"]
tokio-runtime = [
"tokio/macros",
"tokio/net",
"tokio/rt",
"tokio/io-util",
]
tokio-tls = [
"tokio-native-tls",
"tls"
]
async-std-runtime = [
"async-std",
"async-std/attributes",
"tokio-util/compat",
"async-native-tls",
]
async-std-tls = [
"async-native-tls",
"tls"
]
pool = ["bb8"]
tls = ["native-tls"]
redis-json = []
redis-search = []
redis-graph = []
redis-bloom = []
redis-time-series = []
redis-stack = [
"redis-json",
"redis-search",
"redis-graph",
"redis-bloom",
"redis-time-series"
]
[dependencies]
async-std = { version = "1.12", features = ["attributes"], optional = true }
futures-util = { version = "0.3", features = ["sink"] }
futures-channel = { version = "0.3", features = ["sink"] }
bytes = "1.7"
tokio = { version = "1.39", features = ["time", "io-util", "sync"] }
tokio-util = { version = "0.7", features = ["codec"] }
atoi = "2.0"
itoa = "1.0"
fast-float = "0.2"
dtoa = "1.0"
smallvec = { version = "1.13", features = ["union", "serde"] }
bb8 = { version = "0.8", optional = true }
url = "2.5"
native-tls = { version = "0.2", optional = true }
tokio-native-tls = { version = "0.3", optional = true }
async-native-tls = { version = "0.5", optional = true }
log = "0.4"
crc16 = "0.4"
rand = "0.8"
serde = { version = "1.0", features = ["derive"] }
socket2 = "0.5"
memchr = "2.7"
[dev-dependencies]
serial_test = "3.1"
tokio = { version = "1.39", features = ["rt-multi-thread"] }
rand = "0.8"
env_logger = "0.11"
smallvec = { version = "1.13", features = ["serde"] }
criterion = "0.5"
redis = { version = "0.26", features = ["aio", "tokio-comp"] }
fred = "9.0"
axum = "0.7"
actix-web = "4.8"
[package.metadata.docs.rs]
features = ["tokio-runtime", "tokio-tls", "redis-stack", "pool"]
rustdoc-args = ["--cfg", "docsrs"]
[[bench]]
name = "generic_api"
harness = false
[[bench]]
name = "native_api"
harness = false
[[bench]]
name = "pipeline"
harness = false
[[bench]]
name = "multiplexer"
harness = false
[[example]]
name = "simple"
[[example]]
name = "cbor"
[[example]]
name = "axum_crud"