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]

fix(rust): reduce native wheel size

Yujong Lee7c8f7d3f2c7d
diff --git a/litellm-rust/Cargo.toml b/litellm-rust/Cargo.toml
index 80425d567c0..3e9d2d2fbb5 100644
--- a/litellm-rust/Cargo.toml
+++ b/litellm-rust/Cargo.toml
@@ -76,7 +76,7 @@ veil = "0.3.0"
[profile.release]
opt-level = 3
-lto = "thin"
+lto = "fat"
codegen-units = 1
panic = "unwind"
debug = false