Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

build(rust): switch release LTO to fat for wheel size headroom

Yujong Leea9ff1de42bfd
diff --git a/litellm-rust/Cargo.toml b/litellm-rust/Cargo.toml
index 05eea6bc299..7fa8de05f60 100644
--- a/litellm-rust/Cargo.toml
+++ b/litellm-rust/Cargo.toml
@@ -75,7 +75,7 @@ veil = "0.3.0"
[profile.release]
opt-level = 3
-lto = "thin"
+lto = "fat"
codegen-units = 1
panic = "unwind"
debug = false