[package]
edition = "2024"
rust-version = "1.85"
name = "rs-auth-postgres"
version = "0.1.0"
authors = ["rs-auth contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Postgres persistence and migrations for rs-auth."
homepage = "https://github.com/rs-auth/rs-auth"
readme = "README.md"
keywords = [
"authentication",
"auth",
"axum",
"session",
"sqlx",
]
categories = [
"web-programming::http-server",
"authentication",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rs-auth/rs-auth"
resolver = "2"
[lib]
name = "rs_auth_postgres"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.rs-auth-core]
version = "0.1.0"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"postgres",
"time",
"macros",
"migrate",
]
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = ["serde"]
[dependencies.tokio]
version = "1"
features = ["sync"]
default-features = false
[dependencies.tracing]
version = "0.1"
[dev-dependencies.testcontainers]
version = "0.27.2"
[dev-dependencies.testcontainers-modules]
version = "0.15.0"
features = ["postgres"]
[lints.clippy]
all = "warn"
todo = "warn"
[lints.rust]
unsafe_code = "forbid"