[package]
edition = "2024"
rust-version = "1.85"
name = "pgsync"
version = "0.1.1"
build = false
include = [
"src/**/*.rs",
"Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Memory-bounded PostgreSQL logical replication: consistent snapshot plus pgoutput CDC into another PostgreSQL"
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"
[[bin]]
name = "pgsync"
path = "src/main.rs"
[dependencies.anyhow]
version = "1.0.104"
[dependencies.clap]
version = "4.6.7"
features = [
"derive",
"env",
]
[dependencies.pgsync-core]
version = "0.1.1"
[dependencies.pgsync-postgres]
version = "0.1.1"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.154"
[dependencies.tokio]
version = "1.53.2"
features = [
"rt-multi-thread",
"macros",
"net",
"io-util",
"time",
"sync",
"signal",
"process",
"fs",
]
[dependencies.tokio-util]
version = "0.7.20"
features = ["rt"]
[dependencies.tracing]
version = "0.1.44"
[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
"env-filter",
"json",
"fmt",
]
[dev-dependencies.rand]
version = "0.9"
[dev-dependencies.tokio-postgres]
version = "0.7.18"
features = [
"with-uuid-1",
"with-serde_json-1",
]