[package]
edition = "2024"
rust-version = "1.85"
name = "puerto-sqlx"
version = "0.19.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Puerto runtime — the Postgres adapter every Puerto project with a database shares: the pool, migrations at startup, the readiness ping, the driver-error mapping, the unit of work, outbox and event delivery store, the sent-mail log, and the sessions and credentials of local accounts."
homepage = "https://github.com/Guuri11/Puerto"
readme = false
keywords = [
"ddd",
"clean-architecture",
"puerto",
"sqlx",
"postgres",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/Guuri11/Puerto"
[lib]
name = "puerto_sqlx"
path = "src/lib.rs"
[[test]]
name = "auth_postgres"
path = "tests/auth_postgres.rs"
[[test]]
name = "events_postgres"
path = "tests/events_postgres.rs"
[[test]]
name = "mail_postgres"
path = "tests/mail_postgres.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false
[dependencies.dotenvy]
version = "0.15"
[dependencies.getrandom]
version = "0.3"
[dependencies.puerto-core]
version = "0.19.1"
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"postgres",
"migrate",
"uuid",
"chrono",
"json",
]
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["sync"]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v7"]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
]