[package]
edition = "2024"
rust-version = "1.88"
name = "hexeract-outbox-sql"
version = "0.5.0"
authors = ["Nubster"]
build = false
exclude = [
"/tests",
"/examples",
"/benches",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQL backends for the Hexeract outbox via sqlx with postgres, mysql and sqlite feature flags"
homepage = "https://github.com/nubster-opensources/hexeract"
readme = "README.md"
keywords = [
"messaging",
"outbox",
"sqlx",
"postgres",
"transactional",
]
categories = [
"asynchronous",
"database",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nubster-opensources/hexeract"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["postgres"]
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]
[lib]
name = "hexeract_outbox_sql"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.hexeract-outbox]
version = "0.5"
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"tls-rustls-ring",
"uuid",
"json",
"time",
]
default-features = false
[dependencies.time]
version = "0.3"
features = [
"formatting",
"parsing",
"macros",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"v4",
"v7",
"serde",
]
[dev-dependencies.hexeract-core]
version = "0.5"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.testcontainers]
version = "0.27"
[dev-dependencies.testcontainers-modules]
version = "0.15"
features = [
"postgres",
"mysql",
]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"rt-multi-thread",
"time",
]
[dev-dependencies.tokio-util]
version = "0.7"
default-features = false
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1