[package]
edition = "2024"
rust-version = "1.85"
name = "factstr-postgres"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL store for FACTSTR with append, query, streams, and durable streams."
homepage = "https://factstr.com"
readme = "README.md"
keywords = [
"eventstore",
"eventsourcing",
"facts",
"postgres",
"sqlx",
]
categories = ["database-implementations"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ricofritzsche/factstr.git"
resolver = "2"
[lib]
name = "factstr_postgres"
path = "src/lib.rs"
[[test]]
name = "append"
path = "tests/append.rs"
[[test]]
name = "conditional_append"
path = "tests/conditional_append.rs"
[[test]]
name = "durable_streams"
path = "tests/durable_streams.rs"
[[test]]
name = "payload_match"
path = "tests/payload_match.rs"
[[test]]
name = "query"
path = "tests/query.rs"
[[test]]
name = "stream_dispatch"
path = "tests/stream_dispatch.rs"
[[test]]
name = "streams"
path = "tests/streams.rs"
[[test]]
name = "tokio_runtime"
path = "tests/tokio_runtime.rs"
[dependencies.factstr]
version = "0.4.0"
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
version = "0.8"
features = [
"postgres",
"runtime-tokio-rustls",
"json",
"time",
]
[dependencies.time]
version = "0.3"
[dependencies.tokio]
version = "1"
features = ["rt"]
[dev-dependencies.url]
version = "2"