[package]
edition = "2021"
name = "pg_walstream"
version = "0.5.0"
authors = ["danielshih <dog830228@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL logical replication protocol library - parse and handle PostgreSQL WAL streaming messages"
homepage = "https://github.com/isdaniel/pg-walstream"
documentation = "https://docs.rs/pg_walstream"
readme = "README.md"
keywords = [
"postgresql",
"replication",
"wal",
"logical-decoding",
"streaming",
]
categories = [
"database",
"parsing",
"network-programming",
]
license = "BSD-3-Clause"
repository = "https://github.com/isdaniel/pg-walstream"
[features]
default = []
[lib]
name = "pg_walstream"
path = "src/lib.rs"
[[test]]
name = "complex_types"
path = "integration-tests/complex_types.rs"
[[test]]
name = "rate_limited_streaming"
path = "integration-tests/rate_limited_streaming.rs"
[[test]]
name = "safe_transaction_consumer"
path = "integration-tests/safe_transaction_consumer.rs"
[[test]]
name = "snapshot_export"
path = "integration-tests/snapshot_export.rs"
[[bench]]
name = "columnvalue_vs_json"
path = "benches/columnvalue_vs_json.rs"
harness = false
[dependencies.bytes]
version = "1.11.1"
[dependencies.chrono]
version = "0.4.44"
features = ["serde"]
[dependencies.libpq-sys]
version = "0.8"
[dependencies.serde]
version = "1.0.228"
features = [
"derive",
"rc",
]
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.49.0"
features = [
"io-util",
"net",
"time",
"macros",
]
[dependencies.tokio-util]
version = "0.7.18"
features = ["compat"]
[dependencies.tracing]
version = "0.1.44"
[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[dev-dependencies.serde_json]
version = "1.0.149"
[dev-dependencies.tokio]
version = "1.49.0"
features = ["full"]