Cargo Features

[dependencies]
pgwire = { version = "0.22.0", default-features = false, features = ["ring", "aws-lc-rs", "server-api", "server-api-ring", "server-api-aws-lc-rs", "scram"] }
default = server-api-aws-lc-rs

The server-api-aws-lc-rs feature is set by default whenever pgwire is added without default-features = false somewhere in the dependency tree.

ring server-api-ring?

Enables ring, ring of tokio-rustls

aws-lc-rs server-api-aws-lc-rs

Enables aws-lc-rs and aws-lc-rs of tokio-rustls

tokio-rustls:

Alias because Cargo features commonly use -

server-api server-api-aws-lc-rs server-api-ring?

Enables tokio, tokio-rustls, and tokio-util

tokio:

api

and async-trait, chrono, futures, hex, md5, postgres-types, and rand

postgres-types:

types

Affects pgwire::api, pgwire::tokio, pgwire::types

server-api-ring = ring, server-api
server-api-aws-lc-rs default = aws-lc-rs, server-api
scram

Enables base64, stringprep, and x509-certificate

base64:

scram libraries

Affects auth::scram