Cargo Features

[dependencies]
ai = { version = "0.2.3", default-features = false, features = ["ollama_client", "openai_client", "native_tls", "rustls_tls"] }
default = native_tls, ollama_client, openai_client

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

ollama_client default

Affects clients::ollama

openai_client default

Affects clients::openai

native_tls default

Enables native-tls of reqwest

reqwest:

Enables native-tls specific functionality not available by default.

rustls_tls

Enables rustls-tls of reqwest