[[bench]]
harness = false
name = "fast_path"
path = "benches/fast_path.rs"
required-features = ["bench"]
[[bench]]
harness = false
name = "generic_api"
path = "benches/generic_api.rs"
required-features = ["bench"]
[[bench]]
harness = false
name = "multiplexer"
path = "benches/multiplexer.rs"
required-features = ["bench"]
[[bench]]
harness = false
name = "native_api"
path = "benches/native_api.rs"
required-features = ["bench"]
[[bench]]
harness = false
name = "pipeline"
path = "benches/pipeline.rs"
required-features = ["bench"]
[dependencies.actix-web]
optional = true
version = "4.12"
[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.axum]
optional = true
version = "0.8"
[dependencies.bb8]
optional = true
version = "0.9"
[dependencies.bytes]
features = ["serde"]
version = "1.11"
[dependencies.crc16]
version = "0.4"
[dependencies.criterion]
features = ["async_tokio"]
optional = true
version = "0.8"
[dependencies.dashmap]
optional = true
version = "6.1"
[dependencies.dtoa]
version = "1.0"
[dependencies.fast-float2]
version = "0.2"
[dependencies.fred]
optional = true
version = "10.1"
[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.mimalloc]
version = "0.1"
[dependencies.moka]
features = ["future"]
optional = true
version = "0.12"
[dependencies.native-tls]
optional = true
version = "0.2"
[dependencies.rand]
version = "0.9"
[dependencies.redis]
features = ["aio", "tokio-comp"]
optional = true
version = "1.0"
[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.thiserror]
version = "2.0"
[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.env_logger]
version = "0.11"
[dev-dependencies.rand]
version = "0.9"
[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"
required-features = ["web-examples"]
[[example]]
name = "actix_long_polling_pubsub"
path = "examples/actix_long_polling_pubsub.rs"
required-features = ["web-examples"]
[[example]]
name = "axum_crud"
path = "examples/axum_crud.rs"
required-features = ["web-examples"]
[[example]]
name = "axum_long_polling_pubsub"
path = "examples/axum_long_polling_pubsub.rs"
required-features = ["web-examples"]
[[example]]
name = "cbor"
path = "examples/cbor.rs"
[[example]]
name = "loop"
path = "examples/loop.rs"
[[example]]
name = "resp_profiling"
path = "examples/resp_profiling.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"]
bench = ["dep:criterion", "dep:fred", "dep:redis"]
client-cache = ["dep:moka", "dep:dashmap"]
default = ["tokio-runtime"]
json = ["dep:serde_json"]
native-tls = ["dep:native-tls"]
pool = ["dep:bb8"]
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"]
web-examples = ["dep:axum", "dep:actix-web"]
[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.19.1"
[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"