[package]
edition = "2024"
rust-version = "1.94"
name = "dovecote-sqlx-postgres"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL SQLx adapter for Dovecote"
homepage = "https://github.com/plethu/dovecote"
readme = "README.md"
keywords = [
"transactional-outbox",
"cloudevents",
"sqlx",
]
categories = [
"database",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/plethu/dovecote"
[features]
default = ["runtime-tokio"]
runtime-tokio = ["sqlx/runtime-tokio"]
[lib]
name = "dovecote_sqlx_postgres"
path = "src/lib.rs"
[[test]]
name = "postgres"
path = "tests/postgres.rs"
[dependencies.dovecote]
version = "0.2.1"
[dependencies.getrandom]
version = "0.4.3"
[dependencies.sqlx]
version = "0.9.0"
features = [
"postgres",
"time",
"macros",
]
default-features = false
[dependencies.thiserror]
version = "2.0.12"
[dependencies.time]
version = "0.3.41"
features = [
"formatting",
"macros",
"parsing",
]
[dev-dependencies.tokio]
version = "1.48.0"
features = [
"macros",
"rt-multi-thread",
"time",
]
[lints.clippy]
allow_attributes_without_reason = "deny"
dbg_macro = "deny"
doc_markdown = "deny"
excessive_nesting = "deny"
exit = "deny"
missing_errors_doc = "deny"
todo = "deny"
unchecked_time_subtraction = "deny"
unimplemented = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.rust]
unfulfilled_lint_expectations = "deny"
unreachable_pub = "deny"