1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00
actix-extras/actix-redis/Cargo.toml

67 lines
1.9 KiB
TOML
Raw Normal View History

2017-12-29 06:14:04 +01:00
[package]
name = "actix-redis"
version = "0.10.0-beta.5"
2017-12-29 06:14:04 +01:00
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Redis integration for Actix and session store for Actix Web"
license = "MIT OR Apache-2.0"
2020-09-11 22:22:55 +02:00
keywords = ["actix", "redis", "async", "session"]
homepage = "https://actix.rs"
repository = "https://github.com/actix/actix-extras.git"
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
web = [
"actix-web/cookies",
"actix-web/secure-cookies",
"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 }
actix-rt = { version = "2.1", default-features = false }
2021-06-27 08:02:38 +02:00
actix-service = "2.0.0"
2021-12-11 17:05:21 +01:00
actix-tls = { version = "3.0.0-rc.2", default-features = false, features = ["connect"] }
2019-07-08 20:51:54 +02:00
log = "0.4.6"
backoff = "0.2.1"
2019-12-15 18:46:03 +01:00
derive_more = "0.99.2"
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-12-29 11:22:56 +01:00
time = "0.3"
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-12-29 11:22:56 +01:00
actix-web = { version = "4.0.0-beta.18", default_features = false, optional = true }
actix-session = { version = "0.5.0-beta.7", optional = true }
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-12-29 10:25:52 +01:00
actix-test = "0.1.0-beta.10"
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"]