[package]
edition = "2024"
rust-version = "1.94"
name = "faucet-source-postgres-cdc"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL logical replication (CDC) source for the faucet-stream ecosystem"
readme = "README.md"
keywords = [
"postgres",
"cdc",
"replication",
"etl",
"pipeline",
]
categories = [
"database",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/PawanSikawat/faucet-stream"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "faucet_source_postgres_cdc"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.async-stream]
version = "0.3"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.base64]
version = "0.22"
[dependencies.byteorder]
version = "1"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"serde",
]
default-features = false
[dependencies.faucet-core]
version = "1.0.0"
[dependencies.futures]
version = "0.3"
[dependencies.pgwire-replication]
version = "=0.3.2"
[dependencies.schemars]
version = "1.2.1"
[dependencies.serde]
version = "1"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"tls-rustls",
"postgres",
"mysql",
"sqlite",
"json",
"postgres",
]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"time",
"macros",
"rt-multi-thread",
"sync",
"signal",
"time",
]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.testcontainers]
version = "0.27"
[dev-dependencies.testcontainers-modules]
version = "0.15"
features = ["postgres"]
[dev-dependencies.tokio]
version = "1"
features = [
"time",
"macros",
"rt-multi-thread",
"sync",
"signal",
"time",
"test-util",
]
[dev-dependencies.tokio-postgres]
version = "0.7"