[package]
edition = "2021"
name = "tower-sessions-ext-sqlx-store"
version = "0.17.3"
authors = [
"Max Countryman <hello@maxcountryman.com>",
"Samuel <swe@sagoez.com",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQLx session stores for `tower-sessions-ext`."
homepage = "https://github.com/sagoez/tower-sessions-ext-stores"
documentation = "https://docs.rs/tower-sessions-ext-sqlx-store"
readme = "README.md"
keywords = [
"axum",
"sessions",
"cookie",
"tower",
"sqlx",
]
categories = [
"asynchronous",
"network-programming",
"web-programming",
]
license = "MIT"
repository = "https://github.com/sagoez/tower-sessions-ext-stores"
[features]
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]
[lib]
name = "tower_sessions_ext_sqlx_store"
path = "src/lib.rs"
[[example]]
name = "mysql"
path = "examples/mysql.rs"
required-features = ["mysql"]
[[example]]
name = "postgres"
path = "examples/postgres.rs"
required-features = ["postgres"]
[[example]]
name = "sqlite"
path = "examples/sqlite.rs"
required-features = ["sqlite"]
[dependencies.async-trait]
version = "0.1.77"
[dependencies.rmp-serde]
version = "1.1.2"
[dependencies.sqlx]
version = "0.8.0"
features = [
"time",
"runtime-tokio",
]
[dependencies.thiserror]
version = "2.0.12"
[dependencies.time]
version = "0.3.31"
[dependencies.tower-sessions-ext-core]
version = "1.3.1"
features = ["deletion-task"]
[dev-dependencies.axum]
version = "0.8.1"
[dev-dependencies.serde]
version = "1"
[dev-dependencies.tokio]
version = "1.32.0"
features = ["full"]
[dev-dependencies.tokio-test]
version = "0.4.3"
[dev-dependencies.tower-sessions-ext]
version = "1.3.1"