[package] name = "rustis" version = "0.13.3" keywords = ["redis", "database", "async", "cluster", "sentinel"] categories = ["database", "asynchronous"] description = "Redis async driver for Rust" homepage = "https://github.com/dahomey-technologies/rustis" repository = "https://github.com/dahomey-technologies/rustis" documentation = "https://docs.rs/rustis" readme = "README.md" license-file = "LICENSE" edition = "2021" [features] default = ["tokio-runtime"] tokio-runtime = [ "tokio/macros", "tokio/net", "tokio/rt", "tokio/io-util", ] tokio-tls = [ "tokio-native-tls", "tls" ] async-std-runtime = [ "async-std", "async-std/attributes", "tokio-util/compat", "async-native-tls", ] async-std-tls = [ "async-native-tls", "tls" ] pool = ["bb8"] tls = ["native-tls"] redis-json = [] redis-search = [] redis-graph = [] redis-bloom = [] redis-time-series = [] redis-stack = [ "redis-json", "redis-search", "redis-graph", "redis-bloom", "redis-time-series" ] [dependencies] async-std = { version = "1.12", features = ["attributes"], optional = true } futures-util = { version = "0.3", features = ["sink"] } futures-channel = { version = "0.3", features = ["sink"] } bytes = "1.6" tokio = { version = "1.37", features = ["time", "io-util", "sync"] } tokio-util = { version = "0.7", features = ["codec"] } atoi = "2.0" itoa = "1.0" fast-float = "0.2" dtoa = "1.0" smallvec = { version = "1.13", features = ["union", "serde"] } bb8 = { version = "0.8", optional = true } url = "2.5" native-tls = { version = "0.2", optional = true } tokio-native-tls = { version = "0.3", optional = true } async-native-tls = { version = "0.5", optional = true } log = "0.4" crc16 = "0.4" rand = "0.8" serde = { version = "1.0", features = ["derive"] } socket2 = "0.5" memchr = "2.7" [dev-dependencies] serial_test = "3.0" tokio = { version = "1.37", features = ["rt-multi-thread"] } rand = "0.8" env_logger = "0.11" smallvec = { version = "1.13", features = ["serde"] } criterion = "0.5" redis = { version = "0.25", features = ["aio", "tokio-comp"] } fred = "9.0" axum = "0.7" actix-web = "4.3" [package.metadata.docs.rs] features = ["tokio-runtime", "tokio-tls", "redis-stack", "pool"] rustdoc-args = ["--cfg", "docsrs"] [[bench]] name = "generic_api" harness = false [[bench]] name = "native_api" harness = false [[bench]] name = "pipeline" harness = false [[bench]] name = "multiplexer" harness = false [[example]] name = "simple" [[example]] name = "cbor" [[example]] name = "axum_crud"