[package]
edition = "2024"
rust-version = "1.85"
name = "pgsync-postgres"
version = "0.1.1"
build = false
include = [
"src/**/*.rs",
"Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL adapter for pgsync: replication protocol client, pgoutput decoder, snapshot copy, transactional sink"
homepage = "https://github.com/pgrundev/pgsync"
readme = "README.md"
keywords = [
"postgres",
"postgresql",
"replication",
"cdc",
"logical-replication",
]
categories = [
"database",
"command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/pgrundev/pgsync"
resolver = "2"
[lib]
name = "pgsync_postgres"
path = "src/lib.rs"
[dependencies.bytes]
version = "1.12.1"
[dependencies.fallible-iterator]
version = "0.2"
[dependencies.futures-util]
version = "0.3"
features = [
"std",
"sink",
]
default-features = false
[dependencies.pgsync-core]
version = "0.1.1"
[dependencies.postgres-protocol]
version = "0.6.12"
[dependencies.postgres-types]
version = "0.2.14"
[dependencies.rand]
version = "0.9"
[dependencies.rustls]
version = "0.23.45"
features = [
"ring",
"std",
"tls12",
"logging",
]
default-features = false
[dependencies.rustls-native-certs]
version = "0.8.4"
[dependencies.rustls-pemfile]
version = "2.2.0"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.154"
[dependencies.thiserror]
version = "2.0.21"
[dependencies.tokio]
version = "1.53.2"
features = [
"rt-multi-thread",
"macros",
"net",
"io-util",
"time",
"sync",
"signal",
"process",
"fs",
]
[dependencies.tokio-postgres]
version = "0.7.18"
features = [
"with-uuid-1",
"with-serde_json-1",
]
[dependencies.tokio-postgres-rustls]
version = "0.14.0"
[dependencies.tokio-rustls]
version = "0.26.6"
default-features = false
[dependencies.tokio-util]
version = "0.7.20"
features = ["rt"]
[dependencies.tracing]
version = "0.1.44"
[dependencies.url]
version = "2.5"
[dependencies.uuid]
version = "1.28.0"
features = [
"v4",
"serde",
]
[dev-dependencies.hex]
version = "0.4"