# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75" name = "actix-session" version = "0.10.1" authors = [ "Nikolay Kim ", "Luca Palmieri ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Session management for Actix Web" homepage = "https://actix.rs" readme = "README.md" keywords = [ "http", "web", "framework", "async", "session", ] license = "MIT OR Apache-2.0" repository = "https://github.com/actix/actix-extras" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "actix_session" path = "src/lib.rs" [[example]] name = "authentication" path = "examples/authentication.rs" required-features = ["redis-session"] [[example]] name = "basic" path = "examples/basic.rs" required-features = ["redis-session"] [[test]] name = "middleware" path = "tests/middleware.rs" [[test]] name = "opaque_errors" path = "tests/opaque_errors.rs" [[test]] name = "session" path = "tests/session.rs" [dependencies.actix-service] version = "2" [dependencies.actix-utils] version = "3" [dependencies.actix-web] version = "4" features = [ "cookies", "secure-cookies", ] default-features = false [dependencies.anyhow] version = "1" [dependencies.deadpool-redis] version = "0.16" optional = true [dependencies.derive_more] version = "1" features = [ "display", "error", "from", ] [dependencies.rand] version = "0.8" [dependencies.redis] version = "0.26" features = [ "tokio-comp", "connection-manager", ] optional = true default-features = false [dependencies.serde] version = "1" [dependencies.serde_json] version = "1" [dependencies.tracing] version = "0.1.30" features = ["log"] default-features = false [dev-dependencies.actix-test] version = "0.1" [dev-dependencies.actix-web] version = "4" features = [ "cookies", "secure-cookies", "macros", ] default-features = false [dev-dependencies.tracing] version = "0.1.30" [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] cookie-session = [] default = [] redis-pool = ["dep:deadpool-redis"] redis-session = ["dep:redis"] redis-session-native-tls = [ "redis-session", "redis/tokio-native-tls-comp", ] redis-session-rustls = [ "redis-session", "redis/tokio-rustls-comp", ] [lints.rust.future-incompatible] level = "deny" priority = 0 [lints.rust.nonstandard-style] level = "deny" priority = 0 [lints.rust.rust-2018-idioms] level = "deny" priority = 0