authly-session 0.1.0

Session management and persistence for the authly framework
Documentation
# 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 = "authly-session"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Session management and persistence for the authly framework"
readme = "README.md"
keywords = [
    "auth",
    "session",
    "redis",
    "sqlx",
]
categories = [
    "authentication",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/marcjazz/authly-rs"

[features]
default = []
mysql = [
    "store-sqlx",
    "sqlx/mysql",
    "sqlx/runtime-tokio-rustls",
]
postgres = [
    "store-sqlx",
    "sqlx/postgres",
    "sqlx/runtime-tokio-rustls",
]
sqlite = [
    "store-sqlx",
    "sqlx/sqlite",
    "sqlx/runtime-tokio-rustls",
]
store-redis = ["dep:redis"]
store-sqlx = ["dep:sqlx"]

[lib]
name = "authly_session"
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.authly-core]
version = "0.1.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.redis]
version = "1.0.3"
features = ["tokio-comp"]
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "chrono",
    "macros",
]
optional = true
default-features = false

[dev-dependencies.tokio]
version = "1.0"
features = ["full"]