pg_walstream 0.7.0

PostgreSQL logical replication protocol library - parse and handle PostgreSQL WAL streaming messages
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "pg_walstream"
version = "0.7.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",
    "no-std",
]
license = "BSD-3-Clause"
repository = "https://github.com/isdaniel/pg-walstream"

[features]
default = [
    "std",
    "libpq",
]
libpq = [
    "dep:libpq-sys",
    "dep:tokio",
    "dep:tokio-util",
    "std",
]
rustls-tls = [
    "dep:tokio",
    "tokio/sync",
    "dep:tokio-util",
    "dep:tokio-rustls",
    "dep:rustls",
    "dep:webpki-roots",
    "dep:postgres-protocol",
    "dep:aws-lc-rs",
    "dep:socket2",
    "rustls/aws_lc_rs",
    "std",
]
std = [
    "serde/std",
    "chrono/std",
    "chrono/clock",
    "bytes/std",
    "tracing/std",
    "futures-core/std",
    "memchr/std",
]

[lib]
name = "pg_walstream"
path = "src/lib.rs"

[[test]]
name = "binary_columns"
path = "integration-tests/binary_columns.rs"

[[test]]
name = "complex_types"
path = "integration-tests/complex_types.rs"

[[test]]
name = "pg_result_get_bytes"
path = "integration-tests/pg_result_get_bytes.rs"

[[test]]
name = "pgoutput_fidelity"
path = "integration-tests/pgoutput_fidelity.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"

[[test]]
name = "ssl_connections"
path = "integration-tests/ssl_connections.rs"

[[test]]
name = "streaming_decode"
path = "integration-tests/streaming_decode.rs"

[[test]]
name = "typed_deserialization"
path = "integration-tests/typed_deserialization.rs"

[[bench]]
name = "wal_pipeline"
path = "benches/wal_pipeline.rs"
harness = false

[dependencies.aws-lc-rs]
version = "1.17.0"
optional = true

[dependencies.bytes]
version = "1.12.0"
features = ["serde"]
default-features = false

[dependencies.chrono]
version = "0.4.45"
features = [
    "serde",
    "alloc",
]
default-features = false

[dependencies.futures-core]
version = "0.3.32"
default-features = false

[dependencies.libpq-sys]
version = "0.8"
optional = true

[dependencies.memchr]
version = "2.8.2"
default-features = false

[dependencies.postgres-protocol]
version = "0.6.12"
optional = true

[dependencies.rustls]
version = "0.23.41"
features = [
    "std",
    "tls12",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
    "alloc",
]
default-features = false

[dependencies.smallvec]
version = "1.15.2"
features = ["serde"]

[dependencies.socket2]
version = "0.6.4"
features = ["all"]
optional = true

[dependencies.tokio]
version = "1.52.3"
features = [
    "io-util",
    "net",
    "time",
    "macros",
    "rt",
    "rt-multi-thread",
]
optional = true

[dependencies.tokio-rustls]
version = "0.26.4"
optional = true

[dependencies.tokio-util]
version = "0.7.18"
optional = true

[dependencies.tracing]
version = "0.1.44"
default-features = false

[dependencies.webpki-roots]
version = "1.0.8"
optional = true

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

[dev-dependencies.futures]
version = "0.3.32"

[dev-dependencies.proptest]
version = "1.11"

[dev-dependencies.serde_bytes]
version = "0.11.19"

[dev-dependencies.serde_json]
version = "1.0.150"

[dev-dependencies.tokio]
version = "1.52.3"
features = ["full"]