From d16916b4dd25b5bc8c182c5b5994768abdc3d93f Mon Sep 17 00:00:00 2001 From: Yujia Qiao Date: Fri, 14 Jan 2022 20:54:39 +0800 Subject: [PATCH] chore: bump v0.3.7 fix: drop unnecesary features of snowstorm --- Cargo.lock | 94 +----------------------------------------------------- Cargo.toml | 4 +-- 2 files changed, 3 insertions(+), 95 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 179c79ec..1baebf93 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -180,12 +180,6 @@ dependencies = [ "generic-array", ] -[[package]] -name = "bumpalo" -version = "3.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a45a46ab1f2412e53d3a0ade76ffad2025804294569aae387231a0cd6e0899" - [[package]] name = "byteorder" version = "1.4.3" @@ -293,18 +287,6 @@ dependencies = [ "syn", ] -[[package]] -name = "coarsetime" -version = "0.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b6ec6f6e80e839eb22bd61b18f19a8f2ae3f8bda9cf0fdce9dd96c9c5df8393" -dependencies = [ - "libc", - "once_cell", - "wasi 0.10.2+wasi-snapshot-preview1", - "wasm-bindgen", -] - [[package]] name = "console-api" version = "0.1.0" @@ -1495,7 +1477,7 @@ dependencies = [ [[package]] name = "rathole" -version = "0.3.4" +version = "0.3.7" dependencies = [ "anyhow", "async-trait", @@ -1598,16 +1580,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "scalable_cuckoo_filter" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25a8d1a3d9b887d069652d63bba07dad0e0b0f2f7a7ee2c962df23414b4fd714" -dependencies = [ - "rand", - "siphasher", -] - [[package]] name = "schannel" version = "0.1.19" @@ -1738,12 +1710,6 @@ dependencies = [ "libc", ] -[[package]] -name = "siphasher" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "533494a8f9b724d33625ab53c6c4800f7cc445895924a8ef649222dcb76e938b" - [[package]] name = "slab" version = "0.4.5" @@ -1779,13 +1745,9 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "253f76cc2e96ff871886f8a869197794a2d1a2d2b89c8711a9c5644614f6f700" dependencies = [ - "bytes", - "coarsetime", "futures-util", "log", "pin-project", - "rand", - "scalable_cuckoo_filter", "snow", "thiserror", "tokio", @@ -2306,60 +2268,6 @@ version = "0.10.2+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" -[[package]] -name = "wasm-bindgen" -version = "0.2.78" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "632f73e236b219150ea279196e54e610f5dbafa5d61786303d4da54f84e47fce" -dependencies = [ - "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.78" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a317bf8f9fba2476b4b2c85ef4c4af8ff39c3c7f0cdfeed4f82c34a880aa837b" -dependencies = [ - "bumpalo", - "lazy_static", - "log", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.78" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d56146e7c495528bf6587663bea13a8eb588d39b36b679d83972e1a2dbbdacf9" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.78" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7803e0eea25835f8abdc585cd3021b3deb11543c6fe226dcd30b228857c5c5ab" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.78" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0237232789cf037d5480773fe568aac745bfe2afbc11a863e97901780a6b47cc" - [[package]] name = "which" version = "4.2.2" diff --git a/Cargo.toml b/Cargo.toml index a0529faf..eb873ca1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rathole" -version = "0.3.4" +version = "0.3.7" edition = "2021" authors = ["Yujia Qiao "] description = "A reverse proxy for NAT traversal" @@ -64,7 +64,7 @@ socket2 = { version = "0.4", features = ["all"] } fdlimit = "0.2" tokio-native-tls = { version = "0.3", optional = true } async-trait = "0.1" -snowstorm = { version = "0.3", optional = true, features = ["stream"] } +snowstorm = { version = "0.3", optional = true, features = ["stream"], default-features = false } base64 = { version = "0.13", optional = true } notify = { version = "5.0.0-pre.13", optional = true } console-subscriber = { version = "0.1", optional = true, features = ["parking_lot"] }