2017-12-29 06:14:04 +01:00
|
|
|
[package]
|
|
|
|
name = "actix-redis"
|
2021-10-21 18:59:05 +02:00
|
|
|
version = "0.10.0-beta.3"
|
2017-12-29 06:14:04 +01:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2021-03-21 10:38:29 +01:00
|
|
|
description = "Redis integration for Actix and session store for Actix Web"
|
2020-07-14 12:16:32 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
2020-09-11 22:22:55 +02:00
|
|
|
keywords = ["actix", "redis", "async", "session"]
|
2020-10-03 02:32:01 +02:00
|
|
|
homepage = "https://actix.rs"
|
2021-06-27 08:02:38 +02:00
|
|
|
repository = "https://github.com/actix/actix-extras"
|
2017-12-29 10:10:27 +01:00
|
|
|
categories = ["network-programming", "asynchronous"]
|
2020-02-18 00:01:26 +01:00
|
|
|
exclude = [".cargo/config"]
|
2019-03-29 19:31:48 +01:00
|
|
|
edition = "2018"
|
2017-12-29 06:14:04 +01:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "actix_redis"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2017-12-29 10:20:29 +01:00
|
|
|
[features]
|
|
|
|
default = ["web"]
|
|
|
|
|
|
|
|
# actix-web integration
|
2020-09-11 17:26:15 +02:00
|
|
|
web = [
|
2021-03-22 06:07:45 +01:00
|
|
|
"actix-web/cookies",
|
|
|
|
"actix-web/secure-cookies",
|
2020-09-11 17:26:15 +02:00
|
|
|
"actix-session/cookie-session",
|
|
|
|
"rand",
|
|
|
|
"serde",
|
|
|
|
"serde_json"
|
|
|
|
]
|
2017-12-29 10:20:29 +01:00
|
|
|
|
2017-12-29 06:14:04 +01:00
|
|
|
[dependencies]
|
2021-06-27 08:02:38 +02:00
|
|
|
actix = { version = "0.12.0", default-features = false }
|
2021-03-22 06:07:45 +01:00
|
|
|
actix-rt = { version = "2.1", default-features = false }
|
2021-06-27 08:02:38 +02:00
|
|
|
actix-service = "2.0.0"
|
2021-10-21 15:10:00 +02:00
|
|
|
actix-tls = { version = "3.0.0-beta.7", default-features = false, features = ["connect"] }
|
2021-03-22 06:07:45 +01:00
|
|
|
|
2019-07-08 20:51:54 +02:00
|
|
|
log = "0.4.6"
|
2021-03-22 06:07:45 +01:00
|
|
|
backoff = "0.2.1"
|
2019-12-15 18:46:03 +01:00
|
|
|
derive_more = "0.99.2"
|
2021-03-22 06:07:45 +01:00
|
|
|
futures-core = { version = "0.3.7", default-features = false }
|
|
|
|
redis2 = { package = "redis", version = "0.19.0", features = ["tokio-comp", "tokio-native-tls-comp"] }
|
|
|
|
redis-async = { version = "0.8", default-features = false, features = ["tokio10"] }
|
2021-03-21 10:38:29 +01:00
|
|
|
time = "0.2.23"
|
2021-03-22 06:07:45 +01:00
|
|
|
tokio = { version = "1", features = ["sync"] }
|
|
|
|
tokio-util = "0.6.1"
|
2017-12-29 10:10:27 +01:00
|
|
|
|
2020-01-30 02:50:18 +01:00
|
|
|
# actix-session
|
2021-10-21 15:10:00 +02:00
|
|
|
actix-web = { version = "4.0.0-beta.10", default_features = false, optional = true }
|
2021-11-23 00:21:00 +01:00
|
|
|
actix-session = { version = "0.5.0-beta.4", optional = true }
|
2021-03-22 06:07:45 +01:00
|
|
|
rand = { version = "0.8.0", optional = true }
|
2020-07-14 12:20:42 +02:00
|
|
|
serde = { version = "1.0.101", optional = true }
|
2019-07-08 20:49:34 +02:00
|
|
|
serde_json = { version = "1.0.40", optional = true }
|
2017-12-29 10:10:27 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-10-21 15:10:00 +02:00
|
|
|
actix-test = "0.1.0-beta.5"
|
|
|
|
actix-http = "3.0.0-beta.11"
|
2021-03-22 06:07:45 +01:00
|
|
|
actix-rt = "2.1"
|
2021-06-27 08:02:38 +02:00
|
|
|
env_logger = "0.8"
|
|
|
|
serde = { version = "1.0.101", features = ["derive"] }
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "basic"
|
|
|
|
required-features = ["web"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "authentication"
|
|
|
|
required-features = ["web"]
|