rustis 0.18.0

Redis async driver for Rust
Documentation
[[bench]]
harness = false
name = "generic_api"
path = "benches/generic_api.rs"

[[bench]]
harness = false
name = "multiplexer"
path = "benches/multiplexer.rs"

[[bench]]
harness = false
name = "native_api"
path = "benches/native_api.rs"

[[bench]]
harness = false
name = "pipeline"
path = "benches/pipeline.rs"

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

[dependencies.async-std]
features = ["attributes"]
optional = true
version = "1.13"

[dependencies.atoi]
version = "2.0"

[dependencies.bb8]
optional = true
version = "0.9"

[dependencies.bytes]
features = ["serde"]
version = "1.11"

[dependencies.crc16]
version = "0.4"

[dependencies.dashmap]
optional = true
version = "6.1"

[dependencies.dtoa]
version = "1.0"

[dependencies.fast-float2]
version = "0.2"

[dependencies.futures-channel]
features = ["sink"]
version = "0.3"

[dependencies.futures-util]
features = ["sink", "io"]
version = "0.3"

[dependencies.itoa]
version = "1.0"

[dependencies.log]
version = "0.4"

[dependencies.memchr]
version = "2.7"

[dependencies.moka]
features = ["future"]
optional = true
version = "0.12"

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

[dependencies.rand]
version = "0.9"

[dependencies.rustls]
optional = true
version = "0.23"

[dependencies.serde]
features = ["derive"]
version = "1.0"

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

[dependencies.smallvec]
features = ["union", "serde"]
version = "1.15"

[dependencies.socket2]
version = "0.6"

[dependencies.tokio]
features = ["time", "io-util", "sync"]
version = "1.49"

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

[dependencies.tokio-rustls]
optional = true
version = "0.26"

[dependencies.tokio-util]
features = ["codec"]
version = "0.7"

[dependencies.url]
version = "2.5"

[dependencies.webpki-roots]
optional = true
version = "1.0"

[dev-dependencies.actix-web]
version = "4.12"

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.fred]
version = "10.1"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.redis]
features = ["aio", "tokio-comp"]
version = "1.0"

[dev-dependencies.rustls-pemfile]
version = "2.2"

[dev-dependencies.serial_test]
version = "3.3"

[dev-dependencies.smallvec]
features = ["serde"]
version = "1.15"

[dev-dependencies.tokio]
features = ["rt-multi-thread"]
version = "1.49"

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

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

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

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

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

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

[features]
async-std-native-tls = ["dep:async-native-tls", "native-tls"]
async-std-runtime = ["dep:async-std", "async-std/attributes", "tokio-util/compat"]
client-cache = ["dep:moka", "dep:dashmap"]
default = ["tokio-runtime"]
json = ["dep:serde_json"]
native-tls = ["dep:native-tls"]
pool = ["dep:bb8"]
redis-graph = []
rustls = ["dep:rustls"]
tokio-native-tls = ["dep:tokio-native-tls", "native-tls"]
tokio-runtime = ["tokio/macros", "tokio/net", "tokio/rt", "tokio/io-util"]
tokio-rustls = ["dep:tokio-rustls", "dep:webpki-roots", "rustls"]

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

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["database", "asynchronous"]
description = "Redis async driver for Rust"
documentation = "https://docs.rs/rustis"
edition = "2024"
homepage = "https://github.com/dahomey-technologies/rustis"
keywords = ["redis", "database", "async", "cluster", "sentinel"]
license-file = "LICENSE"
name = "rustis"
readme = "README.md"
repository = "https://github.com/dahomey-technologies/rustis"
version = "0.18.0"

[package.metadata.docs.rs]
features = ["tokio-runtime", "tokio-rustls", "pool", "json", "client-cache"]
rustdoc-args = ["--cfg", "docsrs"]

[profile.dev]
debug = 2
opt-level = 0
split-debuginfo = "packed"