mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 23:51:06 +01:00
254d4084a9
Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger) to permit the latest version. - [Release notes](https://github.com/rust-cli/env_logger/releases) - [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.0...v0.11.0) --- updated-dependencies: - dependency-name: env_logger dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
61 lines
1.9 KiB
TOML
61 lines
1.9 KiB
TOML
[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"
|
|
keywords = ["http", "web", "framework", "async", "session"]
|
|
repository = "https://github.com/actix/actix-extras/tree/master/actix-session"
|
|
homepage.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
all-features = true
|
|
|
|
[features]
|
|
default = []
|
|
cookie-session = []
|
|
redis-actor-session = ["actix-redis", "actix", "futures-core", "rand"]
|
|
redis-rs-session = ["redis", "rand"]
|
|
redis-rs-tls-session = ["redis-rs-session", "redis/tokio-native-tls-comp"]
|
|
|
|
[dependencies]
|
|
actix-service = "2"
|
|
actix-utils = "3"
|
|
actix-web = { version = "4", default-features = false, features = ["cookies", "secure-cookies"] }
|
|
|
|
anyhow = "1"
|
|
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-actor-session
|
|
actix = { version = "0.13", default-features = false, optional = true }
|
|
actix-redis = { version = "0.12", optional = true }
|
|
futures-core = { version = "0.3.7", default-features = false, optional = true }
|
|
|
|
# redis-rs-session
|
|
redis = { version = "0.24", default-features = false, features = ["tokio-comp", "connection-manager"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
actix-session = { path = ".", features = ["cookie-session", "redis-actor-session", "redis-rs-session"] }
|
|
actix-test = "0.1.0-beta.10"
|
|
actix-web = { version = "4", default-features = false, features = ["cookies", "secure-cookies", "macros"] }
|
|
env_logger = "0.11"
|
|
log = "0.4"
|
|
|
|
[[example]]
|
|
name = "basic"
|
|
required-features = ["redis-actor-session"]
|
|
|
|
[[example]]
|
|
name = "authentication"
|
|
required-features = ["redis-actor-session"]
|