From 7fe881f6dd8d17473a186fcf689fe5e50e3cfab9 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Sat, 19 Sep 2026 19:32:47 +0300 Subject: [PATCH] chore(deps): remove unused dependencies from multiple crates Removed several dependencies that were declared in Cargo.toml files but no longer used in the code, including url from tinyinference-llm, async-trait, tempfile, tinyinference-core, tinyinference-llm, and tokio from tinyinference-providers, and log from tinyinference-voice. This cleans up the dependency tree and reduces unnecessary compilation overhead. Auto-committed-on: dragonfly Co-authored-by: Medulla --- Cargo.lock | 7 ------- crates/tinyinference-llm/Cargo.toml | 1 - crates/tinyinference-providers/Cargo.toml | 5 ----- crates/tinyinference-voice/Cargo.toml | 1 - 4 files changed, 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4d11a46..cc9817e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1430,7 +1430,6 @@ dependencies = [ "tinyinference-core", "tokio", "tracing", - "url", ] [[package]] @@ -1469,18 +1468,13 @@ dependencies = [ name = "tinyinference-providers" version = "0.3.0" dependencies = [ - "async-trait", "base64", "rand 0.9.5", "reqwest", "serde", "serde_json", "sha2", - "tempfile", "thiserror", - "tinyinference-core", - "tinyinference-llm", - "tokio", "tracing", "url", ] @@ -1490,7 +1484,6 @@ name = "tinyinference-voice" version = "0.3.0" dependencies = [ "base64", - "log", "reqwest", "serde", "serde_json", diff --git a/crates/tinyinference-llm/Cargo.toml b/crates/tinyinference-llm/Cargo.toml index 2d62f75..eba9ee1 100644 --- a/crates/tinyinference-llm/Cargo.toml +++ b/crates/tinyinference-llm/Cargo.toml @@ -23,7 +23,6 @@ thiserror = { workspace = true } tinyinference-core = { version = "0.3.0", path = "../tinyinference-core" } tokio = { workspace = true } tracing = { workspace = true } -url = { workspace = true } [dev-dependencies] tempfile = { workspace = true } diff --git a/crates/tinyinference-providers/Cargo.toml b/crates/tinyinference-providers/Cargo.toml index 15ee8e3..f5c9f22 100644 --- a/crates/tinyinference-providers/Cargo.toml +++ b/crates/tinyinference-providers/Cargo.toml @@ -12,7 +12,6 @@ keywords = ["llm", "inference", "oauth", "providers"] categories = ["api-bindings", "authentication"] [dependencies] -async-trait = { workspace = true } base64 = "0.22" rand = "0.9" reqwest = { workspace = true } @@ -20,14 +19,10 @@ serde = { workspace = true } serde_json = { workspace = true } sha2 = { workspace = true } thiserror = { workspace = true } -tinyinference-core = { version = "0.3.0", path = "../tinyinference-core" } -tinyinference-llm = { version = "0.3.0", path = "../tinyinference-llm" } -tokio = { workspace = true } tracing = { workspace = true } url = { workspace = true } [dev-dependencies] -tempfile = { workspace = true } [lints] workspace = true diff --git a/crates/tinyinference-voice/Cargo.toml b/crates/tinyinference-voice/Cargo.toml index 0a59316..8342231 100644 --- a/crates/tinyinference-voice/Cargo.toml +++ b/crates/tinyinference-voice/Cargo.toml @@ -13,7 +13,6 @@ categories = ["api-bindings", "asynchronous"] [dependencies] base64 = "0.22" -log = "0.4" reqwest = { workspace = true, features = ["multipart"] } serde = { workspace = true } serde_json = { workspace = true }