Cargo Features
[dependencies]
flynn-openai = { version = "0.26.0", default-features = false, features = ["rustls", "rustls-webpki-roots", "native-tls", "native-tls-vendored", "realtime"] }
- default = rustls
-
The
rustls
feature is set by default wheneverflynn-openai
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
-
Enables tokio-tungstenite
Affects
types::realtime
…