Cargo Features
[dependencies]
async-openai-wasm = { version = "0.25.0", default-features = false, features = ["rustls", "rustls-webpki-roots", "native-tls", "native-tls-vendored", "realtime"] }
- default = rustls
-
The
rustls
feature is set by default wheneverasync-openai-wasm
is added without
somewhere in the dependency tree.default-features = false - rustls default
-
Enable rustls for TLS support
Enables rustls-tls-native-roots of reqwest
- rustls-webpki-roots
-
Enable rustls and webpki-roots
Enables rustls-tls-webpki-roots of reqwest
- native-tls
-
Enable native-tls for TLS support
Enables native-tls of reqwest
- native-tls-vendored
-
Remove dependency on OpenSSL
Enables native-tls-vendored of reqwest
- realtime
-
Affects
types::realtime
…