From 6631bd2eb9876a566caa78cb2eb7ee7ab829c996 Mon Sep 17 00:00:00 2001 From: lkhsss Date: Mon, 1 Sep 2025 20:24:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 70 ----------------------------------------------------- Cargo.toml | 2 -- index.html | 2 +- src/main.rs | 2 -- 4 files changed, 1 insertion(+), 75 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 840a52f..81f4b00 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -192,12 +192,6 @@ version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" -[[package]] -name = "futures-sink" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" - [[package]] name = "futures-task" version = "0.3.31" @@ -239,8 +233,6 @@ dependencies = [ "num-bigint", "sled", "tokio", - "tower", - "tower-http", ] [[package]] @@ -277,12 +269,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" @@ -398,16 +384,6 @@ version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" -[[package]] -name = "mime_guess" -version = "2.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e" -dependencies = [ - "mime", - "unicase", -] - [[package]] name = "miniz_oxide" version = "0.8.9" @@ -681,7 +657,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" dependencies = [ "backtrace", - "bytes", "io-uring", "libc", "mio", @@ -703,19 +678,6 @@ dependencies = [ "syn", ] -[[package]] -name = "tokio-util" -version = "0.7.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", -] - [[package]] name = "tower" version = "0.5.2" @@ -732,32 +694,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "tower-http" -version = "0.6.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2" -dependencies = [ - "bitflags 2.9.3", - "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]] name = "tower-layer" version = "0.3.3" @@ -790,12 +726,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "unicase" -version = "2.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" - [[package]] name = "unicode-ident" version = "1.0.18" diff --git a/Cargo.toml b/Cargo.toml index 29b14f9..d68540c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,6 @@ axum = "0.8.4" num-bigint = "0.4.6" sled = "0.34.7" tokio = { version = "1.47.1", features = ["macros", "rt-multi-thread"] } -tower = "0.5.2" -tower-http = { version = "0.6.6", features = ["fs"] } [profile.release] diff --git a/index.html b/index.html index 18a6b81..08be05b 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@

当大家想魔子了,就回来肘一下

- +

肘击次数: