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

55 lines
1.6 KiB
TOML
Raw Normal View History

2019-03-06 03:47:18 +01:00
[package]
name = "actix-session"
version = "0.9.0"
authors = [
"Nikolay Kim <fafhrd91@gmail.com>",
"Luca Palmieri <rust@lpalmieri.com>",
]
description = "Session management for Actix Web"
2020-09-11 22:22:55 +02:00
keywords = ["http", "web", "framework", "async", "session"]
repository = "https://github.com/actix/actix-extras/tree/master/actix-session"
homepage.workspace = true
2023-09-16 01:30:38 +02:00
license.workspace = true
edition.workspace = true
rust-version.workspace = true
2019-03-06 03:47:18 +01:00
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
2019-03-06 03:47:18 +01:00
[features]
default = []
cookie-session = []
redis-rs-session = ["redis", "rand"]
redis-rs-tls-session = ["redis-rs-session", "redis/tokio-native-tls-comp"]
2019-03-06 03:47:18 +01:00
[dependencies]
2021-12-18 04:37:23 +01:00
actix-service = "2"
actix-utils = "3"
2023-03-22 21:51:14 +01:00
actix-web = { version = "4", default-features = false, features = ["cookies", "secure-cookies"] }
anyhow = "1"
2023-01-07 02:08:01 +01:00
derive_more = "0.99.7"
rand = { version = "0.8", optional = true }
serde = { version = "1" }
serde_json = { version = "1" }
tracing = { version = "0.1.30", default-features = false, features = ["log"] }
# redis-rs-session
redis = { version = "0.24", default-features = false, features = ["tokio-comp", "connection-manager"], optional = true }
2019-03-06 03:47:18 +01:00
[dev-dependencies]
2024-03-13 00:30:06 +01:00
actix-session = { path = ".", features = ["cookie-session", "redis-rs-session"] }
actix-test = "0.1.0-beta.10"
2023-03-22 21:51:14 +01:00
actix-web = { version = "4", default-features = false, features = ["cookies", "secure-cookies", "macros"] }
env_logger = "0.11"
log = "0.4"
[[example]]
name = "basic"
2024-03-13 00:30:06 +01:00
required-features = ["redis-rs-session"]
[[example]]
name = "authentication"
2024-03-13 00:30:06 +01:00
required-features = ["redis-rs-session"]