# 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 = "axum_database_sessions" version = "7.0.2" authors = ["Andrew Wheeler "] description = "Memory and/or Database Session management layer for axum." documentation = "https://docs.rs/axum_session" readme = "README.md" keywords = [ "Axum", "Tower", "SQLx", "Session", "surrealdb", ] license = "MIT OR Apache-2.0" repository = "https://github.com/AscendingCreations/AxumSessions" [dependencies.async-trait] version = "0.1.66" [dependencies.axum-core] version = "0.3.3" [dependencies.bytes] version = "1.4.0" [dependencies.chrono] version = "0.4.24" features = [ "clock", "serde", "std", ] [dependencies.cookie] version = "0.17.0" features = [ "percent-encode", "private", ] [dependencies.dashmap] version = "5.4.0" [dependencies.futures] version = "0.3.27" [dependencies.http] version = "0.2.9" [dependencies.http-body] version = "0.4.5" [dependencies.redis] version = "0.22.3" features = ["tokio-comp"] optional = true [dependencies.serde] version = "1.0.155" features = ["derive"] [dependencies.serde_json] version = "1.0.94" [dependencies.sqlx] version = "0.6.3" features = [ "chrono", "uuid", ] optional = true default-features = false [dependencies.surrealdb] version = "1.0.0-beta.8" optional = true [dependencies.thiserror] version = "1.0.39" [dependencies.tokio] version = "1.26.0" features = ["full"] [dependencies.tower-layer] version = "0.3.2" [dependencies.tower-service] version = "0.3.2" [dependencies.tracing] version = "0.1.37" [dependencies.uuid] version = "1.3.0" features = [ "v4", "serde", ] [dev-dependencies.axum] version = "0.6.12" features = ["macros"] [dev-dependencies.hyper] version = "0.14.25" [dev-dependencies.log] version = "0.4.17" default-features = false [dev-dependencies.tower] version = "0.4.13" [features] default = ["postgres-rustls"] fdb_tag = [] mysql-native = [ "sqlx/mysql", "sqlx/runtime-tokio-native-tls", ] mysql-rustls = [ "sqlx/mysql", "sqlx/runtime-tokio-rustls", ] postgres-native = [ "sqlx/postgres", "sqlx/runtime-tokio-native-tls", ] postgres-rustls = [ "sqlx/postgres", "sqlx/runtime-tokio-rustls", ] redis-db = ["redis"] sqlite-native = [ "sqlx/sqlite", "sqlx/runtime-tokio-native-tls", ] sqlite-rustls = [ "sqlx/sqlite", "sqlx/runtime-tokio-rustls", ] surrealdb-fdb-5_1 = [ "surrealdb/kv-fdb-5_1", "surrealdb_tag", "fdb_tag", ] surrealdb-fdb-5_2 = [ "surrealdb/kv-fdb-5_2", "surrealdb_tag", "fdb_tag", ] surrealdb-fdb-6_0 = [ "surrealdb/kv-fdb-6_0", "surrealdb_tag", "fdb_tag", ] surrealdb-fdb-6_1 = [ "surrealdb/kv-fdb-6_1", "surrealdb_tag", "fdb_tag", ] surrealdb-fdb-6_2 = [ "surrealdb/kv-fdb-6_2", "surrealdb_tag", "fdb_tag", ] surrealdb-fdb-6_3 = [ "surrealdb/kv-fdb-6_3", "surrealdb_tag", "fdb_tag", ] surrealdb-fdb-7_0 = [ "surrealdb/kv-fdb-7_0", "surrealdb_tag", "fdb_tag", ] surrealdb-fdb-7_1 = [ "surrealdb/kv-fdb-7_1", "surrealdb_tag", "fdb_tag", ] surrealdb-indxdb = [ "surrealdb/kv-indxdb", "surrealdb_tag", ] surrealdb-mem = [ "surrealdb/kv-mem", "surrealdb_tag", ] surrealdb-rocksdb = [ "surrealdb/kv-rocksdb", "surrealdb_tag", ] surrealdb-tikv = [ "surrealdb/kv-tikv", "surrealdb_tag", ] surrealdb_tag = []