# 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 = "tower-sessions-surrealdb-store" version = "0.5.0" authors = ["Calum Sieppert "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "SurrealDB session store. Not for direct use; see the `tower-sessions` crate for details." homepage = "https://github.com/rynoV/tower-sessions-surrealdb-store" documentation = "https://docs.rs/tower-sessions-surrealdb-store" readme = "README.md" keywords = [ "axum", "sessions", "cookie", "tower", "surrealdb", ] categories = [ "asynchronous", "network-programming", "web-programming", ] license = "MIT" repository = "https://github.com/rynoV/tower-sessions-surrealdb-store" resolver = "2" [lib] name = "tower_sessions_surrealdb_store" path = "src/lib.rs" [[example]] name = "counter" path = "examples/counter.rs" [dependencies.async-trait] version = "0.1.75" [dependencies.rmp-serde] version = "1.1.2" [dependencies.serde] version = "1.0.193" [dependencies.surrealdb] version = "^2.0.0" optional = true [dependencies.surrealdb-nightly] version = "^2.0.20240916" optional = true [dependencies.thiserror] version = "1.0.51" [dependencies.tower-sessions-core] version = "0.13.0" features = ["deletion-task"] [dependencies.tracing] version = "0.1.40" [dev-dependencies.axum] version = "0.7.2" [dev-dependencies.axum-core] version = "0.4.1" [dev-dependencies.serde_json] version = "1.0.108" [dev-dependencies.surrealdb] version = "^2.0.0" features = ["kv-mem"] [dev-dependencies.tokio] version = "1.35.1" [dev-dependencies.tokio-test] version = "0.4.3" [dev-dependencies.tower] version = "0.5.1" [dev-dependencies.tower-sessions] version = "0.13.0" [features] default = ["surrealdb"] surrealdb = ["dep:surrealdb"] surrealdb-nightly = ["dep:surrealdb-nightly"]