[package]
name = "pg-wired"
version = "0.4.0"
description = "Minimal async PostgreSQL wire protocol v3 client: connection, extended query, pipelining, COPY, LISTEN/NOTIFY, TLS, SCRAM."
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
homepage.workspace = true
documentation = "https://docs.rs/pg-wired"
readme = "README.md"
keywords = ["postgres", "postgresql", "database", "async", "driver"]
categories = ["database", "asynchronous", "network-programming"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
tokio = { version = "1", features = ["net", "io-util", "sync", "rt", "macros", "time"] }
bytes = "1"
md5 = "0.7"
sha2 = "0.10"
hmac = "0.12"
base64 = "0.22"
rand = "0.9"
thiserror = "2"
socket2 = "0.5"
tracing = "0.1"
rustls = { version = "0.23", optional = true, default-features = false, features = ["ring", "logging", "std", "tls12"] }
tokio-rustls = { version = "0.26", optional = true }
rustls-pki-types = { version = "1", optional = true }
webpki-roots = { version = "0.26", optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
proptest = "1"
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "parse_microbench"
harness = false
[features]
default = []
tls = ["dep:rustls", "dep:tokio-rustls", "dep:rustls-pki-types", "dep:webpki-roots"]