Cargo Features
[dependencies]
pgwire = { version = "0.28.0", default-features = false, features = ["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 wheneverpgwire
is added without
somewhere in the dependency tree.default-features = false - server-api server-api-aws-lc-rs server-api-ring?
-
Enables tokio and tokio-util
tokio:
api
and async-trait, chrono, futures, hex, md5, postgres-types, rand, and rust_decimal
postgres-types:
types
Affects
pgwire::api
,pgwire::tokio
,pgwire::types
… - server-api-ring = server-api
-
Enables ring, ring of tokio-rustls
- server-api-aws-lc-rs default = server-api
-
Enables aws-lc-rs and aws-lc-rs of tokio-rustls
tokio-rustls:
Alias because Cargo features commonly use
-
- scram
-
Enables base64, stringprep, and x509-certificate
base64:
scram libraries
Affects
auth::scram
…
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.