qbrs-sqlx 0.1.0

sqlx-based execution integration for qbrs (Postgres).
Documentation
[package]
name = "qbrs-sqlx"
version.workspace = true
edition.workspace = true
rust-version = "1.94"  # sqlx 0.9 requires it
license.workspace = true
repository.workspace = true
readme.workspace = true
categories.workspace = true
keywords = ["sql", "database", "query-builder", "postgres", "sqlx"]
description = "sqlx-based execution integration for qbrs (Postgres)."

[features]
# Each mirrors the `qbrs-core` feature of the same name and turns on the
# matching `sqlx` support, so a column type that renders can also be bound
# and decoded.
chrono = ["qbrs-core/chrono", "sqlx/chrono", "dep:chrono"]
uuid = ["qbrs-core/uuid", "sqlx/uuid", "dep:uuid"]
decimal = ["qbrs-core/decimal", "sqlx/rust_decimal", "dep:rust_decimal"]

[dependencies]
qbrs-core.workspace = true
thiserror = "2"
chrono = { version = "0.4", default-features = false, features = ["std"], optional = true }
uuid = { version = "1", default-features = false, optional = true }
rust_decimal = { version = "1", default-features = false, optional = true }

[dependencies.sqlx]
version = "0.9"
default-features = false
features = ["postgres", "runtime-tokio", "tls-rustls"]

[dev-dependencies]
pglite-rs = { version = "0.2.7", features = ["multiple-process"] }
qbrs = { path = "../qbrs" }
tempfile = "3.27.0"
tokio = { version = "1.53.1", features = ["full"] }

[package.metadata.docs.rs]
all-features = true