[package]
edition = "2024"
rust-version = "1.85.0"
name = "pgdumpx"
version = "0.2.0"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read-only, bounded inspection, extraction, and row scanning for PostgreSQL custom-format dumps"
homepage = "https://github.com/tappe9/pgdumpx"
documentation = "https://docs.rs/pgdumpx"
readme = "README.md"
keywords = [
"postgresql",
"pg-dump",
"backup",
"parser",
"forensics",
]
categories = [
"database",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tappe9/pgdumpx"
[features]
default = [
"lz4",
"zstd",
]
lz4 = ["dep:lz4_flex"]
zstd = ["dep:ruzstd"]
[lib]
name = "pgdumpx"
path = "src/lib.rs"
[[example]]
name = "benchmark_runner"
path = "examples/benchmark_runner.rs"
[[example]]
name = "buffer_tuning_runner"
path = "examples/buffer_tuning_runner.rs"
[[test]]
name = "aggregate_metadata_limits"
path = "tests/aggregate_metadata_limits.rs"
[[test]]
name = "archive_open"
path = "tests/archive_open.rs"
[[test]]
name = "archive_versions"
path = "tests/archive_versions.rs"
[[test]]
name = "column_equality"
path = "tests/column_equality.rs"
[[test]]
name = "compatibility_completion"
path = "tests/compatibility_completion.rs"
[[test]]
name = "compression_backend_limits"
path = "tests/compression_backend_limits.rs"
[[test]]
name = "copy_field_count"
path = "tests/copy_field_count.rs"
[[test]]
name = "copy_metadata"
path = "tests/copy_metadata.rs"
[[test]]
name = "copy_rows"
path = "tests/copy_rows.rs"
[[test]]
name = "copy_terminal"
path = "tests/copy_terminal.rs"
[[test]]
name = "entry_limits"
path = "tests/entry_limits.rs"
[[test]]
name = "entry_stream"
path = "tests/entry_stream.rs"
[[test]]
name = "extraction_plan_duplicates"
path = "tests/extraction_plan_duplicates.rs"
[[test]]
name = "extraction_plan_execution"
path = "tests/extraction_plan_execution.rs"
[[test]]
name = "find_acceptance"
path = "tests/find_acceptance.rs"
[[test]]
name = "fixture_manifest"
path = "tests/fixture_manifest.rs"
[[test]]
name = "limits"
path = "tests/limits.rs"
[[test]]
name = "lz4_backend"
path = "tests/lz4_backend.rs"
[[test]]
name = "malformed_regressions"
path = "tests/malformed_regressions.rs"
[[test]]
name = "metadata_filter"
path = "tests/metadata_filter.rs"
[[test]]
name = "table_rows"
path = "tests/table_rows.rs"
[[test]]
name = "toc_metadata"
path = "tests/toc_metadata.rs"
[[test]]
name = "toc_metadata_edges"
path = "tests/toc_metadata_edges.rs"
[[test]]
name = "v02_convenience"
path = "tests/v02_convenience.rs"
[[test]]
name = "zstd_backend"
path = "tests/zstd_backend.rs"
[dependencies.flate2]
version = "1.1"
features = ["rust_backend"]
default-features = false
[dependencies.lz4_flex]
version = "0.14"
features = [
"frame",
"safe-decode",
]
optional = true
default-features = false
[dependencies.ruzstd]
version = "=0.8.1"
optional = true
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.sha2]
version = "0.10"
[dev-dependencies.toml]
version = "0.8"
[lints.rust]
unsafe_code = "forbid"