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