puerto-sqlx 0.19.1

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.
Documentation
[package]
name = "puerto-sqlx"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
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."
license.workspace = true
repository.workspace = true
homepage.workspace = true
keywords = ["ddd", "clean-architecture", "puerto", "sqlx", "postgres"]
categories = ["database"]

[dependencies]
puerto-core = { workspace = true }
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "postgres", "migrate", "uuid", "chrono", "json"] }
thiserror = "2"
# Domain events (ADR-0018): the unit of work, the outbox and the db transport.
async-trait = "0.1"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
serde_json = "1"
tokio = { version = "1", features = ["sync"] }
tracing = "0.1"
uuid = { version = "1", features = ["v7"] }
# Local accounts (ADR-0021 ยง 2): session tokens and their hashes, `AUTH_SESSION_TTL` from `.env`.
base64 = "0.22"
dotenvy = "0.15"
getrandom = "0.3"
sha2 = "0.10"

[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] }