[package] name = "actix-redis" version = "0.9.2" authors = ["Nikolay Kim "] description = "Redis integration for Actix and session store for Actix Web" license = "MIT OR Apache-2.0" readme = "README.md" keywords = ["actix", "redis", "async", "session"] homepage = "https://actix.rs" repository = "https://github.com/actix/actix-extras.git" documentation = "https://docs.rs/actix-redis/" categories = ["network-programming", "asynchronous"] exclude = [".cargo/config"] edition = "2018" [lib] name = "actix_redis" path = "src/lib.rs" [features] default = ["web"] # actix-web integration web = [ "actix-service", "actix-web", "actix-session/cookie-session", "rand", "serde", "serde_json" ] [dependencies] log = "0.4.6" derive_more = "0.99.2" futures-util = { version = "0.3.7", default-features = false } futures-channel = { version = "0.3.5", default-features = false } redis-async = "0.9" time = "0.2.23" actix-rt = "2" tokio = "1" tokio-util = "0.6" trust-dns-resolver = { version = "0.20.0", default-features = false, features = ["tokio-runtime", "system-config"] } # actix-session actix-web = { version = "4.0.0-beta.4", default_features = false, optional = true } actix-http = { version = "3.0.0-beta.4", optional = true } actix-service = { version = "2.0.0-beta.5", optional = true } actix-session = { version = "0.4.0", optional = true } rand = { version = "0.8", optional = true } serde = { version = "1.0.101", optional = true } serde_json = { version = "1.0.40", optional = true } [dev-dependencies] env_logger = "0.8" serde_derive = "1.0"