Cargo Features

[dependencies]
pq-sys = { version = "0.7.5", default-features = false, features = ["bundled", "bundled_without_openssl", "buildtime_bindgen", "pkg-config"] }
default = pkg-config

The pkg-config feature is set by default whenever pq-sys is added without default-features = false somewhere in the dependency tree.

bundled = bundled_without_openssl

Enables with-openssl of pq-src

bundled_without_openssl bundled?

Enables pq-src

buildtime_bindgen build

Enables bindgen

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

pkg-config build default