From 9f13bf59b61a0aa66f92bf01a505a1f0c01fb425 Mon Sep 17 00:00:00 2001 From: Yujong Lee Date: Tue, 15 Sep 2026 10:33:15 -0700 Subject: [PATCH] build(rust): scope provider auth dependencies --- litellm-rust/Cargo.toml | 3 --- litellm-rust/crates/auth-azure/Cargo.toml | 6 ++++-- litellm-rust/crates/auth-gcp/Cargo.toml | 4 +++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/litellm-rust/Cargo.toml b/litellm-rust/Cargo.toml index 94a0c25804d..6c63fd1f68f 100644 --- a/litellm-rust/Cargo.toml +++ b/litellm-rust/Cargo.toml @@ -36,9 +36,6 @@ tokio = { version = "1", features = ["rt-multi-thread", "macros", "time", "net"] tokio-tungstenite = { version = "0.24", default-features = false, features = ["connect", "rustls-tls-native-roots"] } futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] } base64 = "0.22" -gcp_auth = "0.12.7" -azure_core = "1.0.0" -azure_identity = { version = "1.0.0", features = ["tokio"] } moka = { version = "0.12.16", features = ["future"] } strum = { version = "0.28.0", features = ["derive"] } url = "2.5.8" diff --git a/litellm-rust/crates/auth-azure/Cargo.toml b/litellm-rust/crates/auth-azure/Cargo.toml index 16f18a3a789..9f8260c7b3f 100644 --- a/litellm-rust/crates/auth-azure/Cargo.toml +++ b/litellm-rust/crates/auth-azure/Cargo.toml @@ -6,14 +6,16 @@ license.workspace = true repository.workspace = true [dependencies] -azure_core.workspace = true -azure_identity.workspace = true litellm-auth.workspace = true + moka.workspace = true serde_json.workspace = true sha2.workspace = true strum.workspace = true url.workspace = true +azure_core = "1.0.0" +azure_identity = { version = "1.0.0", features = ["tokio"] } + [dev-dependencies] tokio.workspace = true diff --git a/litellm-rust/crates/auth-gcp/Cargo.toml b/litellm-rust/crates/auth-gcp/Cargo.toml index aaa6fbb2cda..4f0855e1be4 100644 --- a/litellm-rust/crates/auth-gcp/Cargo.toml +++ b/litellm-rust/crates/auth-gcp/Cargo.toml @@ -6,10 +6,12 @@ license.workspace = true repository.workspace = true [dependencies] -gcp_auth.workspace = true litellm-auth.workspace = true + moka.workspace = true serde_json.workspace = true sha2.workspace = true tokio.workspace = true tracing.workspace = true + +gcp_auth = "0.12.7"