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 whenever openai is added without default-features = false somewhere in the dependency tree.

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.

reqwest native-tls rustls?