[package]
edition = "2024"
name = "ff-backend-postgres"
version = "0.11.0"
authors = ["FlowFabric Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FlowFabric EngineBackend impl — Postgres backend (RFC-v0.7, Wave 0 scaffold)"
homepage = "https://github.com/avifenesh/FlowFabric"
readme = false
keywords = [
"valkey",
"execution-engine",
"workflow",
"async",
]
categories = [
"database",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/avifenesh/FlowFabric"
[features]
core = ["ff-core/core"]
default = [
"core",
"streaming",
]
observability = ["ff-observability/enabled"]
streaming = ["ff-core/streaming"]
[lib]
name = "ff_backend_postgres"
path = "src/lib.rs"
[[test]]
name = "capabilities"
path = "tests/capabilities.rs"
[[test]]
name = "list_pending_waitpoints"
path = "tests/list_pending_waitpoints.rs"
[[test]]
name = "pg_budget_admin"
path = "tests/pg_budget_admin.rs"
[[test]]
name = "pg_engine_backend_attempt"
path = "tests/pg_engine_backend_attempt.rs"
[[test]]
name = "schema_0001"
path = "tests/schema_0001.rs"
[[test]]
name = "schema_0002"
path = "tests/schema_0002.rs"
[[test]]
name = "schema_0010_0011"
path = "tests/schema_0010_0011.rs"
[[test]]
name = "schema_0012_0013"
path = "tests/schema_0012_0013.rs"
[[test]]
name = "spine_a_pt1_mutations"
path = "tests/spine_a_pt1_mutations.rs"
[[test]]
name = "spine_a_pt2_mutations"
path = "tests/spine_a_pt2_mutations.rs"
[[test]]
name = "spine_b_reads"
path = "tests/spine_b_reads.rs"
[[test]]
name = "subscribe_lease_history"
path = "tests/subscribe_lease_history.rs"
[[test]]
name = "subscribe_signal_delivery"
path = "tests/subscribe_signal_delivery.rs"
[[test]]
name = "suspend_signal"
path = "tests/suspend_signal.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.ff-core]
version = "0.11.0"
features = [
"core",
"suspension",
"budget",
]
default-features = false
[dependencies.ff-observability]
version = "0.11.0"
[dependencies.futures-core]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.12"
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlx]
version = "0.8"
features = [
"postgres",
"runtime-tokio-rustls",
"macros",
"migrate",
"uuid",
"chrono",
"json",
]
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"net",
"time",
"sync",
"macros",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"net",
"time",
"sync",
"macros",
"macros",
"rt-multi-thread",
]
[dev-dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
"v4",
]