Cargo Features

async-openai = { version = "0.21.0", default-features = false, features = ["rustls", "rustls-webpki-roots", "native-tls", "native-tls-vendored"] }
default = rustls

The rustls feature is set by default whenever async-openai is added without default-features = false somewhere in the dependency tree.

rustls default

Enable rustls for TLS support

Enables rustls-tls-native-roots of reqwest


Enable rustls and webpki-roots

Enables rustls-tls-webpki-roots of reqwest


Enable native-tls for TLS support

Enables native-tls of reqwest


Remove dependency on OpenSSL

Enables native-tls-vendored of reqwest