From d82c863f4074444ccae154de2825321334af4e00 Mon Sep 17 00:00:00 2001 From: mofeng-git Date: Fri, 1 May 2026 17:41:11 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=B2=BE=E7=AE=80=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 7 ++----- libs/hwcodec/Cargo.toml | 3 --- res/vcpkg/libyuv/Cargo.toml | 1 - 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5071fb65..3d2cf5dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,8 +16,8 @@ tokio-util = { version = "0.7", features = ["rt"] } # Web framework axum = { version = "0.8", features = ["ws", "multipart", "tokio"] } -axum-extra = { version = "0.12", features = ["typed-header", "cookie"] } -tower-http = { version = "0.6", features = ["fs", "cors", "trace", "compression-gzip"] } +axum-extra = { version = "0.12", features = ["cookie"] } +tower-http = { version = "0.6", features = ["cors", "trace"] } # Database - Use bundled SQLite for static linking sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite"] } @@ -123,13 +123,10 @@ libyuv = { path = "res/vcpkg/libyuv" } typeshare = "1.0" [dev-dependencies] -tokio-test = "0.4" tempfile = "3" [build-dependencies] protobuf-codegen = "3.7" -toml = "0.9" -cc = "1" [profile.release] opt-level = 3 diff --git a/libs/hwcodec/Cargo.toml b/libs/hwcodec/Cargo.toml index b84d3355..bf727dda 100644 --- a/libs/hwcodec/Cargo.toml +++ b/libs/hwcodec/Cargo.toml @@ -20,6 +20,3 @@ serde_json = "1.0" [build-dependencies] cc = "1.0" bindgen = "0.59" - -[dev-dependencies] -env_logger = "0.10" diff --git a/res/vcpkg/libyuv/Cargo.toml b/res/vcpkg/libyuv/Cargo.toml index 9b967bc0..e7ef3a62 100644 --- a/res/vcpkg/libyuv/Cargo.toml +++ b/res/vcpkg/libyuv/Cargo.toml @@ -8,5 +8,4 @@ license = "BSD-3-Clause" [dependencies] [build-dependencies] -cc = "1.0" bindgen = "0.59"