Cargo Features

pg_wire has no features set by default.

[dependencies]
pg_wire = { version = "0.8.1", features = ["async_io", "tokio_net", "mock_net"] }
async_io = async-io, blocking
tokio_net = tokio, tokio-native-tls
mock_net

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

async-io async_io?

Enables async-io ^1.3.1

blocking async_io?
tokio tokio_net?
tokio-native-tls tokio_net?