[package]
edition = "2024"
rust-version = "1.99"
name = "snodra-messaging-sqlx"
version = "0.12.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Snodra messaging: the SQL message store on PostgreSQL and MySQL (outbox, processed events, dead letters, processor control, external calls, sagas), in the SQL layout every Snodra library shares"
homepage = "https://snodra.damoreira.com/"
documentation = "https://docs.rs/snodra-messaging-sqlx"
readme = "README.md"
keywords = [
"postgres",
"mysql",
"outbox",
"messaging",
]
categories = ["database"]
license = "Apache-2.0"
repository = "https://github.com/snodra/snodra-messaging-rs"
[features]
default = [
"postgres",
"mysql",
]
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
[lib]
name = "snodra_messaging_sqlx"
path = "src/lib.rs"
[[test]]
name = "behaviour"
path = "tests/behaviour.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "layout"
path = "tests/layout.rs"
[[test]]
name = "notify"
path = "tests/notify.rs"
[dependencies.chrono]
version = "0.4.45"
[dependencies.futures]
version = "0.3"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.154"
[dependencies.sha2]
version = "0.10.9"
[dependencies.snodra-messaging]
version = "0.12.0"
[dependencies.sqlx]
version = "0.9.0"
features = [
"runtime-tokio",
"tls-rustls-ring-native-roots",
"chrono",
]
default-features = false
[dependencies.sqlx-core]
version = "=0.9.0"
default-features = false
[dependencies.tokio]
version = "1.54.1"
features = [
"rt",
"sync",
"time",
"macros",
]
[dependencies.tokio-util]
version = "0.7.20"
features = ["rt"]
[dependencies.tracing]
version = "0.1.44"
[dev-dependencies.snodra-messaging]
version = "0.12.0"
features = ["testing"]
[dev-dependencies.testcontainers]
version = "0.27"
[dev-dependencies.testcontainers-modules]
version = "0.15.0"
features = [
"postgres",
"mysql",
]
[dev-dependencies.tokio]
version = "1.54.1"
features = ["full"]
[dev-dependencies.uuid]
version = "1"
features = ["v4"]