fastauth-sqlx 0.2.0

sqlx adapter for fastauth: Postgres and SQLite, with migrations.
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 = "2024"
rust-version = "1.94"
name = "fastauth-sqlx"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "sqlx adapter for fastauth: Postgres and SQLite, with migrations."
readme = "README.md"
keywords = [
    "auth",
    "authentication",
    "axum",
    "sqlx",
    "session",
]
categories = [
    "authentication",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lassejlv/fastauth"

[features]
default = [
    "postgres",
    "sqlite",
]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]

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

[[test]]
name = "in_tx"
path = "tests/in_tx.rs"

[[test]]
name = "postgres"
path = "tests/postgres.rs"

[[test]]
name = "sqlite"
path = "tests/sqlite.rs"

[dependencies.fastauth-core]
version = "0.2.0"

[dependencies.serde_json]
version = "1.0.154"

[dependencies.sqlx]
version = "0.9.1"
features = [
    "runtime-tokio",
    "json",
    "time",
    "uuid",
]
default-features = false

[dependencies.sqlx-core]
version = "0.9.1"
default-features = false

[dependencies.time]
version = "0.3.45"

[dependencies.tokio]
version = "1.54.1"
features = ["sync"]

[dev-dependencies.bytes]
version = "1.12.2"

[dev-dependencies.http]
version = "1.5.0"

[dev-dependencies.serde_json]
version = "1.0.154"

[dev-dependencies.tokio]
version = "1.54.1"
features = [
    "macros",
    "rt-multi-thread",
]

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "allow"
unsafe_code = "forbid"