Cargo Features

[dependencies]
llm = { version = "1.1.0", default-features = false, features = ["full", "openai", "anthropic", "ollama", "deepseek", "xai", "phind", "google", "groq", "cli", "api"] }
default = cli

The cli feature is set by default whenever llm is added without default-features = false somewhere in the dependency tree.

full cli = anthropic, api, deepseek, google, groq, ollama, openai, phind, xai
openai full?

Affects backends::openai

anthropic full?

Affects backends::anthropic

ollama full?

Affects backends::ollama

deepseek full?

Affects backends::deepseek

xai full?

Affects backends::xai

phind full?

Affects backends::phind

google full?

Affects backends::google

groq full?

Affects backends::groq

cli default = full

Enables clap, colored, rustyline, and spinners

Required by the binary

api full?

Enables axum ^0.7, tower-http ^0.5, and uuid

Affects llm::api