From 6150f155f0cd33905fce935afedc6b2d5dbce891 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Thu, 19 Nov 2026 03:52:55 +0400 Subject: [PATCH] chore: drop unused crates --- src-tauri/Cargo.lock | 19 ------------------- src-tauri/Cargo.toml | 6 ------ 2 files changed, 25 deletions(-) diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 9d2872eb..e5ff5c83 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1801,7 +1801,6 @@ dependencies = [ "chrono-tz", "clap", "core-foundation 0.10.1", - "crossbeam-channel", "directories", "dirs 7.0.0", "dunce", @@ -1867,7 +1866,6 @@ dependencies = [ "tokio-tungstenite 0.30.0", "tokio-util", "toml_edit 0.25.19+spec-1.1.0", - "tower", "tower-http 0.7.1", "url", "urlencoding", @@ -3009,12 +3007,6 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "http-range-header" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9171a2ea8a68358193d15dd5d70c1c10a2afc3e7e4c5bc92bc9f025cebd7359c" - [[package]] name = "httparse" version = "1.10.1" @@ -7508,22 +7500,11 @@ checksum = "08a05a66a4fdd61cbbe0a1d755ffe0ca6aba159dd4820936a0ff8a8278245b9c" dependencies = [ "bitflags 2.13.2", "bytes", - "futures-core", - "futures-util", "http", - "http-body", - "http-body-util", - "http-range-header", - "httpdate", - "mime", - "mime_guess", "percent-encoding", "pin-project-lite", - "tokio", - "tokio-util", "tower-layer", "tower-service", - "tracing", ] [[package]] diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 6f51b72c..5aea554d 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -30,8 +30,6 @@ resvg = "0.49" [dependencies] serde_json = "1" -# Runtime as well as build time: the per-profile window badge is rendered at launch. -resvg = "0.49" serde = { version = "1", features = ["derive"] } tauri = { version = "2", features = ["tray-icon", "image-png"] } tauri-plugin-opener = "2" @@ -88,7 +86,6 @@ urlencoding = "2.1" chrono = { version = "0.4", features = ["serde"] } chrono-tz = "0.10" axum = { version = "0.8.9", features = ["ws"] } -tower = "0.5" tower-http = { version = "0.7", features = ["cors"] } rand = "0.10.3" utoipa = { version = "6", features = ["axum_extras", "chrono"] } @@ -128,7 +125,6 @@ smoltcp = { version = "0.14", default-features = false, features = ["std", "medi # Tray icon decoding (main-process system tray) image = "0.25" dirs = "7" -crossbeam-channel = "0.5" sys-locale = "0.3" jsonc-parser = { version = "0.34", features = ["cst", "serde_json"] } toml_edit = "0.25" @@ -202,8 +198,6 @@ wiremock = "0.6" hyper = { version = "1.12", features = ["full"] } hyper-util = { version = "0.1", features = ["full"] } http-body-util = "0.1" -tower = "0.5" -tower-http = { version = "0.7", features = ["fs", "trace"] } futures-util = "0.3" serial_test = "4" lzma-rust2 = { version = "0.25", features = ["encoder"] }