[package]
edition = "2021"
name = "pg2any_lib"
version = "0.8.0"
authors = ["danielshih <dog830228@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL to Any database library with Change Data Capture (CDC) and logical replication support"
homepage = "https://github.com/isdaniel/pg2any"
documentation = "https://docs.rs/pg2any_lib"
readme = "README.md"
keywords = [
"postgresql",
"cdc",
"replication",
"database",
"streaming",
]
categories = [
"database",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/isdaniel/pg2any"
[features]
default = [
"mysql",
"sqlserver",
"sqlite",
]
metrics = [
"hyper",
"hyper-util",
"http-body-util",
"prometheus",
]
mysql = ["sqlx/mysql"]
sqlite = ["sqlx/sqlite"]
sqlserver = ["tiberius"]
[lib]
name = "pg2any_lib"
path = "src/lib.rs"
[[test]]
name = "compression_feature_flag_tests"
path = "tests/compression_feature_flag_tests.rs"
[[test]]
name = "destination_integration_tests"
path = "tests/destination_integration_tests.rs"
[[test]]
name = "event_type_refactor_tests"
path = "tests/event_type_refactor_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "large_compressed_file_tests"
path = "tests/large_compressed_file_tests.rs"
[[test]]
name = "metrics_logical_tests"
path = "tests/metrics_logical_tests.rs"
[[test]]
name = "mysql_edge_cases_tests"
path = "tests/mysql_edge_cases_tests.rs"
[[test]]
name = "mysql_error_handling_simple_tests"
path = "tests/mysql_error_handling_simple_tests.rs"
[[test]]
name = "mysql_where_clause_fix_tests"
path = "tests/mysql_where_clause_fix_tests.rs"
[[test]]
name = "position_tracking_tests"
path = "tests/position_tracking_tests.rs"
[[test]]
name = "replica_identity_tests"
path = "tests/replica_identity_tests.rs"
[[test]]
name = "sqlite_comprehensive_tests"
path = "tests/sqlite_comprehensive_tests.rs"
[[test]]
name = "sqlite_destination_tests"
path = "tests/sqlite_destination_tests.rs"
[[test]]
name = "streaming_transaction_tests"
path = "tests/streaming_transaction_tests.rs"
[[test]]
name = "where_clause_fix_tests"
path = "tests/where_clause_fix_tests.rs"
[dependencies.async-compression]
version = "0.4.37"
features = [
"tokio",
"gzip",
]
[dependencies.async-trait]
version = "0.1.89"
[dependencies.bytes]
version = "1.11.1"
[dependencies.chrono]
version = "0.4.44"
features = ["serde"]
[dependencies.flate2]
version = "1.1.9"
[dependencies.http-body-util]
version = "0.1.3"
optional = true
[dependencies.hyper]
version = "1.8.1"
features = ["full"]
optional = true
[dependencies.hyper-util]
version = "0.1.20"
features = ["full"]
optional = true
[dependencies.lazy_static]
version = "1.5"
[dependencies.pg_walstream]
version = "0.5.1"
[dependencies.prometheus]
version = "0.14.0"
features = ["process"]
optional = true
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.sqlx]
version = "0.8.6"
features = [
"runtime-tokio-rustls",
"mysql",
"sqlite",
"chrono",
"uuid",
]
optional = true
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tiberius]
version = "0.12.3"
features = [
"tds73",
"sql-browser-tokio",
"bigdecimal",
"rust_decimal",
"time",
"chrono",
]
optional = true
[dependencies.tokio]
version = "1.49.0"
features = ["full"]
[dependencies.tokio-util]
version = "0.7.18"
features = [
"compat",
"io-util",
]
[dependencies.tracing]
version = "0.1.44"