From 5b9b4ca16b592f2ce1db3c0db221d0860ab46034 Mon Sep 17 00:00:00 2001 From: ty Date: Fri, 4 Oct 2024 22:42:57 +0800 Subject: [PATCH] fix: ssurl for getting outline url no compression --- Cargo.lock | 18 ------------------ Cargo.toml | 8 -------- 2 files changed, 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f24bf642cc09..bb20c2566e19 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -204,22 +204,6 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "async-compression" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fec134f64e2bc57411226dfc4e52dec859ddfc7e711fc5e07b612584f000e4aa" -dependencies = [ - "brotli", - "flate2", - "futures-core", - "memchr", - "pin-project-lite", - "tokio", - "zstd", - "zstd-safe", -] - [[package]] name = "async-task" version = "4.7.1" @@ -2799,7 +2783,6 @@ version = "0.12.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f713147fbe92361e52392c73b8c9e48c04c6625bce969ef54dc901e58e042a7b" dependencies = [ - "async-compression", "base64 0.22.1", "bytes", "encoding_rs", @@ -2835,7 +2818,6 @@ dependencies = [ "tokio", "tokio-native-tls", "tokio-rustls 0.26.0", - "tokio-util", "tower-service", "url", "wasm-bindgen", diff --git a/Cargo.toml b/Cargo.toml index 736feee3dd5d..7e36de860e4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -260,20 +260,12 @@ reqwest = { version = "0.12", features = [ "blocking", "rustls-tls", "rustls-tls-native-roots", - "deflate", - "gzip", - "brotli", - "zstd", ], default-features = false, optional = true } [target.'cfg(not(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64")))'.dependencies] reqwest = { version = "0.12", features = [ "blocking", "native-tls-vendored", - "deflate", - "gzip", - "brotli", - "zstd", ], optional = true } [dev-dependencies]