-
Notifications
You must be signed in to change notification settings - Fork 30
/
Cargo.toml
36 lines (33 loc) · 1.13 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
[package]
name = "redis-async"
version = "0.17.2"
authors = ["Ben Ashford <[email protected]>"]
license = "MIT/Apache-2.0"
readme = "README.md"
description = "An asynchronous futures based Redis client for Rust using Tokio"
repository = "https://github.com/benashford/redis-async-rs"
keywords = ["redis", "tokio"]
edition = "2021"
[dependencies]
bytes = "1.0"
futures-channel = "^0.3.7"
futures-sink = "^0.3.7"
futures-util = { version = "^0.3.7", features = ["sink"] }
log = "^0.4.11"
native-tls = { version = "0.2", optional = true }
pin-project = "1.0"
socket2 = { version = "0.5", features = ["all"] }
tokio = { version = "1.0", features = ["rt", "net", "time"] }
tokio-native-tls = { version = "0.3.0", optional = true }
tokio-rustls = { version = "0.26", optional = true }
tokio-util = { version = "0.7", features = ["codec"] }
webpki-roots = { version = "0.26", optional = true }
[features]
default = []
tls = []
with-rustls = ["tokio-rustls", "tls", "webpki-roots"]
with-native-tls = ["native-tls", "tokio-native-tls", "tls"]
[dev-dependencies]
env_logger = "0.11"
futures = "^0.3.7"
tokio = { version = "1.0", features = ["full"] }