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