redis 0.22.4

Redis driver for Rust.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.64.0"
name = "redis"
version = "0.22.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Redis driver for Rust."
homepage = "https://github.com/redis-rs/redis-rs"
documentation = "https://docs.rs/redis"
readme = "README.md"
keywords = [
    "redis",
    "database",
]
license = "BSD-3-Clause"
repository = "https://github.com/redis-rs/redis-rs"
resolver = "1"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[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",
]

[lib]
name = "redis"
path = "src/lib.rs"

[[example]]
name = "async-await"
path = "examples/async-await.rs"
required-features = ["aio"]

[[example]]
name = "async-connection-loss"
path = "examples/async-connection-loss.rs"
required-features = ["connection-manager"]

[[example]]
name = "async-multiplexed"
path = "examples/async-multiplexed.rs"
required-features = ["tokio-comp"]

[[example]]
name = "async-pub-sub"
path = "examples/async-pub-sub.rs"
required-features = ["aio"]

[[example]]
name = "async-scan"
path = "examples/async-scan.rs"
required-features = ["aio"]

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "geospatial"
path = "examples/geospatial.rs"

[[example]]
name = "streams"
path = "examples/streams.rs"
required-features = ["streams"]

[[test]]
name = "parser"
path = "tests/parser.rs"
required-features = ["aio"]

[[test]]
name = "test_acl"
path = "tests/test_acl.rs"

[[test]]
name = "test_async"
path = "tests/test_async.rs"
required-features = ["tokio-comp"]

[[test]]
name = "test_async_async_std"
path = "tests/test_async_async_std.rs"
required-features = ["async-std-comp"]

[[test]]
name = "test_basic"
path = "tests/test_basic.rs"

[[test]]
name = "test_cluster"
path = "tests/test_cluster.rs"

[[test]]
name = "test_geospatial"
path = "tests/test_geospatial.rs"

[[test]]
name = "test_json"
path = "tests/test_json.rs"
required-features = [
    "json",
    "serde/derive",
]

[[test]]
name = "test_streams"
path = "tests/test_streams.rs"

[[test]]
name = "test_types"
path = "tests/test_types.rs"

[[bench]]
name = "bench_basic"
path = "benches/bench_basic.rs"
harness = false
required-features = ["tokio-comp"]

[[bench]]
name = "bench_cluster"
path = "benches/bench_cluster.rs"
harness = false
required-features = ["cluster"]

[dependencies.ahash]
version = "0.7.6"
optional = true

[dependencies.arc-swap]
version = "1.1.0"
optional = true

[dependencies.async-native-tls]
version = "0.4"
optional = true

[dependencies.async-std]
version = "1.8.0"
optional = true

[dependencies.async-trait]
version = "0.1.24"
optional = true

[dependencies.bytes]
version = "1"
optional = true

[dependencies.combine]
version = "4.6"
features = ["std"]
default-features = false

[dependencies.crc16]
version = "0.4"
optional = true

[dependencies.futures]
version = "0.3.3"
optional = true

[dependencies.futures-util]
version = "0.3.15"
optional = true
default-features = false

[dependencies.itoa]
version = "1.0"

[dependencies.native-tls]
version = "0.2"
optional = true

[dependencies.percent-encoding]
version = "2.1"

[dependencies.pin-project-lite]
version = "0.2"
optional = true

[dependencies.r2d2]
version = "0.8.8"
optional = true

[dependencies.rand]
version = "0.8"
optional = true

[dependencies.ryu]
version = "1.0"

[dependencies.serde]
version = "1.0.82"
optional = true

[dependencies.serde_json]
version = "1.0.82"
optional = true

[dependencies.sha1_smol]
version = "1.0"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "net",
]
optional = true

[dependencies.tokio-native-tls]
version = "0.3"
optional = true

[dependencies.tokio-util]
version = "0.7"
optional = true

[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]
version = "0.5"
features = [
    "tokio",
    "quickcheck1",
]

[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]
version = "1"
features = [
    "rt",
    "macros",
    "rt-multi-thread",
    "time",
]