Cargo Features
[dependencies]
openai-fork = { version = "1.0.0-alpha.15", default-features = false, features = ["native-tls", "rustls"] }
- default = native-tls
-
The
native-tls
feature is set by default wheneveropenai-fork
is added without
somewhere in the dependency tree.default-features = false - native-tls default
-
Enables native-tls of reqwest ^0.11.14
reqwest:
Enables native-tls specific functionality not available by default.
- rustls
-
Enables rustls-tls of reqwest ^0.11.14
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.
- reqwest native-tls rustls?
-
Enables reqwest ^0.11.14