[[bench]]
harness = false
name = "bench_basic"
required-features = ["tokio-comp"]
[[bench]]
harness = false
name = "bench_cluster"
required-features = ["cluster"]
[[bench]]
harness = false
name = "bench_cluster_async"
required-features = ["cluster-async", "tokio-comp"]
[[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_module_json"
required-features = ["json", "serde/derive"]
[[test]]
name = "test_cluster_async"
required-features = ["cluster-async"]
[[test]]
name = "test_bignum"
[dependencies.ahash]
optional = true
version = "0.8.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.bigdecimal]
optional = true
version = "0.4.2"
[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-rustls]
optional = true
version = "0.25"
[dependencies.futures-util]
default-features = false
optional = true
version = "0.3.15"
[dependencies.itoa]
version = "1.0"
[dependencies.log]
optional = true
version = "0.4"
[dependencies.native-tls]
optional = true
version = "0.2"
[dependencies.num-bigint]
optional = true
version = "0.4.4"
[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.rust_decimal]
optional = true
version = "1.33.1"
[dependencies.rustls]
optional = true
version = "0.22"
[dependencies.rustls-native-certs]
optional = true
version = "0.7"
[dependencies.rustls-pemfile]
optional = true
version = "2"
[dependencies.rustls-pki-types]
optional = true
version = "1"
[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.socket2]
default-features = false
optional = true
version = "0.5"
[dependencies.tokio]
features = ["rt", "net", "time"]
optional = true
version = "1"
[dependencies.tokio-native-tls]
optional = true
version = "0.3"
[dependencies.tokio-retry]
optional = true
version = "0.3.0"
[dependencies.tokio-rustls]
optional = true
version = "0.25"
[dependencies.tokio-util]
optional = true
version = "0.7"
[dependencies.url]
version = "2.1"
[dependencies.uuid]
optional = true
version = "1.6.1"
[dependencies.webpki-roots]
optional = true
version = "0.26"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.assert_approx_eq]
version = "1.0"
[dev-dependencies.criterion]
version = "0.4"
[dev-dependencies.fnv]
version = "1.0.5"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.futures-time]
version = "3"
[dev-dependencies.once_cell]
version = "1"
[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.5"
[dev-dependencies.tempfile]
version = "=3.6.0"
[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-native-tls-comp = ["async-std-comp", "async-native-tls", "tls-native-tls"]
async-std-rustls-comp = ["async-std-comp", "futures-rustls", "tls-rustls"]
async-std-tls-comp = ["async-std-native-tls-comp"]
bigdecimal = ["dep:bigdecimal"]
cluster = ["crc16", "rand"]
cluster-async = ["cluster", "futures", "futures-util", "log"]
connection-manager = ["arc-swap", "futures", "aio", "tokio-retry"]
default = ["acl", "streams", "geospatial", "script", "keep-alive"]
disable-client-setinfo = []
geospatial = []
json = ["serde", "serde/derive", "serde_json"]
keep-alive = ["socket2"]
num-bigint = ["dep:num-bigint"]
rust_decimal = ["dep:rust_decimal"]
script = ["sha1_smol"]
sentinel = ["rand"]
streams = []
tcp_nodelay = []
tls = ["tls-native-tls"]
tls-native-tls = ["native-tls"]
tls-rustls = ["rustls", "rustls-native-certs", "rustls-pemfile", "rustls-pki-types"]
tls-rustls-insecure = ["tls-rustls"]
tls-rustls-webpki-roots = ["tls-rustls", "webpki-roots"]
tokio-comp = ["aio", "tokio", "tokio/net"]
tokio-native-tls-comp = ["tokio-comp", "tls-native-tls", "tokio-native-tls"]
tokio-rustls-comp = ["tokio-comp", "tls-rustls", "tokio-rustls"]
uuid = ["dep:uuid"]
[lib]
bench = false
[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"
rust-version = "1.65"
version = "0.25.4"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]