Cargo Features

[dependencies]
openai-api = { version = "0.1.4", default-features = false, features = ["sync", "async"] }
default = async, sync

These default features are set whenever openai-api is added without default-features = false somewhere in the dependency tree.

sync default = ureq
async default

Enables hyper-client of surf

Used by async feature

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.

ureq sync

Enables ureq ^1.5.4

Used by sync feature

surf async