[package] name = "ruts" description = "A middleware for tower sessions" version = "0.3.0" edition = "2021" authors = ["Jimmie Lovell "] license = "MIT" homepage = "https://github.com/jimmielovell/ruts" keywords = ["sessions", "cookie", "ruts", "watfoe"] categories = ["network-programming", "web-programming"] repository = "https://github.com/jimmielovell/ruts" documentation = "https://docs.rs/ruts" readme = "README.md" [features] default = ["axum", "redis-store"] axum = ["dep:axum-core"] redis-store = ["dep:fred", "dep:rmp-serde"] [dependencies] async-trait = "0.1.83" axum-core = { version = "0.4.5", optional = true } base64 = "0.22.1" cookie = "0.18.1" fred = { version = "9.2.1", optional = true } http = "1.1.0" parking_lot = { version = "0.12.3", features = ["serde"] } pin-project-lite = "0.2.14" rand = "0.8.5" rmp-serde = { version = "1.3.0", optional = true } serde = { version = "1.0.210", features = ["derive"] } thiserror = "1.0.64" tokio = { version = "1.40.0", features = ["full"] } tower = "0.5.1" tower-cookies = "0.10.0" tracing = { version = "0.1.40", features = ["log"] } [dev-dependencies] axum = "0.7.7" http-body-util = "0.1.2" [[example]] name = "axum" path = "examples/axum.rs" [[example]] name = "counter" path = "examples/counter.rs" [[test]] name = "integration" path = "tests/mod.rs"