Cargo Features
[dependencies]
llm = { version = "1.3.7", default-features = false, features = ["full", "default-tls", "rustls-tls", "openai", "anthropic", "ollama", "deepseek", "xai", "phind", "google", "groq", "azure_openai", "cohere", "mistral", "openrouter", "huggingface", "bedrock", "cli", "api", "elevenlabs", "agent", "rodio", "logging"] }
- default = cli, default-tls
-
These default features are set whenever
llmis added withoutsomewhere in the dependency tree.default-features = false - full cli = agent, anthropic, api, azure_openai, bedrock, cohere, deepseek, elevenlabs, google, groq, huggingface, mistral, ollama, openai, openrouter, phind, xai
- default-tls default
-
Enables default-tls of reqwest ^0.12.12
- rustls-tls
-
Enables rustls-tls of reqwest ^0.12.12
- 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… - azure_openai full?
-
Affects
backends::azure_openai… - cohere full?
-
Affects
backends::cohere… - mistral full?
-
Affects
backends::mistral… - openrouter full?
-
Affects
backends::openrouter… - huggingface full?
-
Affects
backends::huggingface… - bedrock full?
-
Enables awc, aws-config, aws-sdk-bedrockruntime, and aws-smithy-types
Affects
backends::aws… - cli default = full
-
Enables clap, colored, rustyline ^15, and spinners
Required by the binary
- api full?
-
Enables axum ^0.7, tower-http ^0.5, and uuid
Affects
llm::api… - elevenlabs full?
-
Affects
backends::elevenlabs… - agent full?
-
Affects
agent::builder,llm::agent… - rodio
-
Enables rodio ^0.20.0
- logging
-
Enables env_logger