From 7675a6868c5adb945d12fa5856afeda35198af63 Mon Sep 17 00:00:00 2001 From: lbl <1791778603@qq.com> Date: Sat, 22 Aug 2026 22:52:27 +0800 Subject: [PATCH] fix(ci): restore FreeBSD and MIPS builds --- .github/workflows/rust.yml | 6 +++--- Cargo.lock | 17 ----------------- vnt-web/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 21 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0239ee3..cd615d3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -79,8 +79,8 @@ jobs: OS: ubuntu-latest - TARGET: x86_64-unknown-freebsd OS: ubuntu-latest - ARTIFACT_NAME: freebsd-13.2-x86_64 - BSD_VERSION: 13.2 + ARTIFACT_NAME: freebsd-14.4-x86_64 + BSD_VERSION: '14.4' runs-on: ${{ matrix.OS }} env: NAME: Vnt @@ -116,7 +116,7 @@ jobs: - name: List run: find ./ - name: Build Vnt X86_64-FreeBSD - uses: cross-platform-actions/action@v0.23.0 + uses: cross-platform-actions/action@v1.3.0 if: ${{ endsWith(matrix.TARGET, 'freebsd') }} env: TARGET: ${{ matrix.TARGET }} diff --git a/Cargo.lock b/Cargo.lock index c253e90..d6f40e0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2104,12 +2104,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" @@ -5948,22 +5942,11 @@ checksum = "b11f75e912b0c2be01b63d8cf8057b8c3f97cf34abb3d431a3a4c8675498e233" dependencies = [ "bitflags 2.10.0", "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/vnt-web/Cargo.toml b/vnt-web/Cargo.toml index 814a42b..6bd1ec6 100644 --- a/vnt-web/Cargo.toml +++ b/vnt-web/Cargo.toml @@ -7,7 +7,7 @@ edition = "2024" vnt-core.workspace = true tokio = { workspace = true, features = ["full"] } axum = "0.8.8" -tower-http = { version = "0.7", features = ["fs", "cors", "trace"] } +tower-http = { version = "0.7", features = ["cors"] } tower = { version = "0.5", features = ["util"] } serde.workspace = true