Cargo Features

xitca-postgres has no features set by default.

[dependencies]
xitca-postgres = { version = "0.2.1", features = ["tls", "quic", "compat"] }
tls quic?

feature for connecting to tls enabled server.

Enables sha2 and webpki-roots, rustls-ring-crypto of xitca-tls

quic = tls

feature for using quic as client/server transport layer for better congetion handling on lossy connection.
note: it does not work as stand alone and server side proxy for translating quic message to tcp is needed.

Enables quinn and rustls-pemfile

Affects xitca-postgres::proxy

compat

compatibility feature to enable implements with futures crate

Affects xitca-postgres::compat