[package]
edition = "2021"
rust-version = "1.82.0"
name = "pq-sys"
version = "0.7.8"
build = "build.rs"
links = "pq"
include = [
"README.md",
"LICENSE-MIT",
"LICENSE-APACHE",
"src/**/*.rs",
"build.rs",
"bindings/**/*.rs",
"wrapper.h",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Auto-generated rust bindings for libpq"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/sgrif/pq-sys"
[features]
buildtime_bindgen = ["dep:bindgen"]
bundled = [
"bundled_without_openssl",
"pq-src/with-openssl",
]
bundled_without_openssl = ["dep:pq-src"]
default = ["pkg-config"]
[lib]
name = "pq_sys"
path = "src/lib.rs"
[dependencies.libc]
version = "0.2.100"
[dependencies.pq-src]
version = ">=0.2, <0.4"
optional = true
default-features = false
[dev-dependencies.bindgen]
version = "0.73.2"
[dev-dependencies.similar-asserts]
version = "1.6.0"
[build-dependencies.bindgen]
version = "0.73.2"
optional = true
[build-dependencies.pkg-config]
version = "0.3.0"
optional = true
[target.'cfg(target_env = "msvc")'.build-dependencies.vcpkg]
version = "0.2.6"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(buildscript_run)"]