[package]
edition = "2024"
name = "sayiir-postgres"
version = "0.1.0-alpha.7"
authors = ["Yacine Bouraoui <ybsoft2011@live.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL persistence backend for Sayiir workflow engine"
homepage = "https://github.com/sayiir/sayiir"
readme = "README.md"
keywords = [
"workflow",
"orchestration",
"durable",
"async",
"distributed",
]
categories = [
"asynchronous",
"concurrency",
]
license = "MIT"
repository = "https://github.com/sayiir/sayiir"
resolver = "2"
[lib]
name = "sayiir_postgres"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[bench]]
name = "postgres"
path = "benches/postgres.rs"
harness = false
[dependencies.bytes]
version = "1"
features = ["serde"]
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.sayiir-core]
version = "0.1.0-alpha.7"
[dependencies.sayiir-persistence]
version = "0.1.0-alpha.7"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"postgres",
"chrono",
]
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.bytes]
version = "1"
features = ["serde"]
[dev-dependencies.criterion]
version = "0.5"
features = [
"html_reports",
"async_tokio",
]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.testcontainers]
version = "0.26"
[dev-dependencies.testcontainers-modules]
version = "0.14"
features = ["postgres"]
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
"rt-multi-thread",
"macros",
]