[[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"
[[test]]
name = "test_json"
required-features = ["json", "serde/derive"]
[dependencies.ahash]
optional = true
version = "0.7.6"
[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.8.0"
[dependencies.async-trait]
optional = true
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.serde]
optional = true
version = "1.0.82"
[dependencies.serde_json]
optional = true
version = "1.0.82"
[dependencies.sha1_smol]
optional = true
version = "1.0"
[dependencies.tokio]
features = ["rt", "net"]
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", "quickcheck1"]
version = "0.5"
[dev-dependencies.quickcheck]
version = "1.0.3"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.socket2]
version = "0.4"
[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-trait"]
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 = []
json = ["serde", "serde_json"]
script = ["sha1_smol"]
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 = "2021"
homepage = "https://github.com/redis-rs/redis-rs"
keywords = ["redis", "database"]
license = "BSD-3-Clause"
name = "redis"
readme = "README.md"
repository = "https://github.com/redis-rs/redis-rs"
resolver = "1"
rust-version = "1.59"
version = "0.22.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]