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

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