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]

Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_fix_gateway_rustls_provider

mateo-berriff856080c559
diff --cc litellm-rust/Cargo.lock
index d214e80d818,62e943d0f42..43b9ec1aac2
--- a/litellm-rust/Cargo.lock
+++ b/litellm-rust/Cargo.lock
@@@ -1412,11 -1412,9 +1412,11 @@@ dependencies =
"base64",
"futures-channel",
"futures-util",
+ "litellm-config",
"litellm-core",
- "pyo3",
"reqwest",
+ "rustls 0.23.42",
+ "rustls-native-certs",
"serde",
"serde_json",
"sha2 0.10.9",
diff --cc litellm-rust/Cargo.toml
index d3d25cbda8d,720c4545181..82de7f40069
--- a/litellm-rust/Cargo.toml
+++ b/litellm-rust/Cargo.toml
@@@ -24,12 -26,10 +26,12 @@@ pyo3 = "0.29.2
pyo3-async-runtimes = { version = "0.29.0", features = ["tokio-runtime"] }
pythonize = "0.29.0"
rand = "0.8"
- reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "rustls-tls", "http2", "stream"] }
+ reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "multipart", "rustls-tls", "http2", "stream"] }
rstest = "0.26.1"
+rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
+rustls-native-certs = "0.8"
serde = { version = "1.0", features = ["derive"] }
- serde_json = "1.0"
+ serde_json = { version = "1.0", features = ["float_roundtrip"] }
sha2 = "0.10"
subtle = "2"
thiserror = "2.0"