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]

revert(rust): restore thin LTO in the release profile

Yujong Lee974d9f97ff13
diff --git a/litellm-rust/Cargo.toml b/litellm-rust/Cargo.toml
index 7fa8de05f60..05eea6bc299 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 = "fat"
+lto = "thin"
codegen-units = 1
panic = "unwind"
debug = false