[[bench]]
harness = false
name = "bench_basic"
required-features = ["tokio-comp"]
[[bench]]
harness = false
name = "bench_cluster"
required-features = ["cluster"]
[[example]]
name = "async-multiplexed"
required-features = ["tokio-comp"]
[[example]]
name = "async-await"
required-features = ["aio"]
[[example]]
name = "async-pub-sub"
required-features = ["aio"]
[[example]]
name = "async-scan"
required-features = ["aio"]
[[example]]
name = "async-connection-loss"
required-features = ["connection-manager"]
[[example]]
name = "streams"
required-features = ["streams"]
[[test]]
name = "test_async"
required-features = ["tokio-comp"]
[[test]]
name = "test_async_async_std"
required-features = ["async-std-comp"]
[[test]]
name = "parser"
required-features = ["aio"]
[[test]]
name = "test_acl"
[dependencies.arc-swap]
optional = true
version = "1.1.0"
[dependencies.async-native-tls]
optional = true
version = "0.4"
[dependencies.async-std]
optional = true
version = "1.5.0"
[dependencies.async-trait]
version = "0.1.24"
[dependencies.bytes]
optional = true
version = "1"
[dependencies.combine]
default-features = false
features = ["std"]
version = "4.6"
[dependencies.crc16]
optional = true
version = "0.4"
[dependencies.futures]
optional = true
version = "0.3.3"
[dependencies.futures-util]
default-features = false
optional = true
version = "0.3.15"
[dependencies.itoa]
version = "1.0"
[dependencies.native-tls]
optional = true
version = "0.2"
[dependencies.percent-encoding]
version = "2.1"
[dependencies.pin-project-lite]
optional = true
version = "0.2"
[dependencies.r2d2]
optional = true
version = "0.8.8"
[dependencies.rand]
optional = true
version = "0.8"
[dependencies.ryu]
version = "1.0"
[dependencies.sha1]
optional = true
version = ">= 0.2, < 0.7"
[dependencies.tokio]
features = ["rt"]
optional = true
version = "1"
[dependencies.tokio-native-tls]
optional = true
version = "0.3"
[dependencies.tokio-util]
optional = true
version = "0.7"
[dependencies.url]
version = "2.1"
[dev-dependencies.assert_approx_eq]
version = "1.0"
[dev-dependencies.criterion]
version = "0.3"
[dev-dependencies.fnv]
version = "1.0.5"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.partial-io]
features = ["tokio", "quickcheck"]
version = "0.3"
[dev-dependencies.quickcheck]
version = "0.6"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.socket2]
version = "0.3"
[dev-dependencies.tempfile]
version = "3.2"
[dev-dependencies.tokio]
features = ["rt", "macros", "rt-multi-thread", "time"]
version = "1"
[features]
acl = []
aio = ["bytes", "pin-project-lite", "futures-util", "futures-util/alloc", "futures-util/sink", "tokio/io-util", "tokio-util", "tokio-util/codec", "tokio/sync", "combine/tokio"]
async-std-comp = ["aio", "async-std"]
async-std-tls-comp = ["async-std-comp", "async-native-tls", "tls"]
cluster = ["crc16", "rand"]
connection-manager = ["arc-swap", "futures", "aio"]
default = ["acl", "streams", "geospatial", "script"]
geospatial = []
script = ["sha1"]
streams = []
tls = ["native-tls"]
tokio-comp = ["aio", "tokio", "tokio/net"]
tokio-native-tls-comp = ["tls", "tokio-native-tls"]
[package]
description = "Redis driver for Rust."
documentation = "https://docs.rs/redis"
edition = "2018"
homepage = "https://github.com/mitsuhiko/redis-rs"
keywords = ["redis", "database"]
license = "BSD-3-Clause"
name = "redis"
readme = "README.md"
repository = "https://github.com/mitsuhiko/redis-rs"
version = "0.21.7"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]