1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-01-22 14:55:56 +01:00

61 lines
1.7 KiB
TOML
Raw Normal View History

2019-03-05 18:47:18 -08:00
[package]
name = "actix-session"
version = "0.10.1"
authors = [
"Nikolay Kim <fafhrd91@gmail.com>",
"Luca Palmieri <rust@lpalmieri.com>",
]
description = "Session management for Actix Web"
2020-09-11 21:22:55 +01:00
keywords = ["http", "web", "framework", "async", "session"]
2024-06-20 02:18:37 +01:00
repository.workspace = true
homepage.workspace = true
2023-09-16 00:30:38 +01:00
license.workspace = true
edition.workspace = true
rust-version.workspace = true
2019-03-05 18:47:18 -08:00
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
2019-03-05 18:47:18 -08:00
[features]
default = []
cookie-session = []
2024-09-12 14:56:33 -04:00
redis-session = ["dep:redis"]
redis-session-native-tls = ["redis-session", "redis/tokio-native-tls-comp"]
redis-session-rustls = ["redis-session", "redis/tokio-rustls-comp"]
redis-pool = ["dep:deadpool-redis"]
2019-03-05 18:47:18 -08:00
[dependencies]
2021-12-18 03:37:23 +00:00
actix-service = "2"
actix-utils = "3"
2023-03-22 20:51:14 +00:00
actix-web = { version = "4", default-features = false, features = ["cookies", "secure-cookies"] }
anyhow = "1"
derive_more = { version = "1", features = ["display", "error", "from"] }
2024-09-12 14:56:33 -04:00
rand = "0.8"
serde = { version = "1" }
serde_json = { version = "1" }
tracing = { version = "0.1.30", default-features = false, features = ["log"] }
# redis-session
redis = { version = "0.27", default-features = false, features = ["tokio-comp", "connection-manager"], optional = true }
deadpool-redis = { version = "0.18", optional = true }
2019-03-05 18:47:18 -08:00
[dev-dependencies]
actix-session = { path = ".", features = ["cookie-session", "redis-session"] }
actix-test = "0.1"
2023-03-22 20:51:14 +00:00
actix-web = { version = "4", default-features = false, features = ["cookies", "secure-cookies", "macros"] }
2024-06-11 03:52:45 +01:00
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing = "0.1.30"
2024-06-20 02:14:35 +01:00
[lints]
workspace = true
[[example]]
name = "basic"
required-features = ["redis-session"]
[[example]]
name = "authentication"
required-features = ["redis-session"]