From 7cb3da80f314b067738db02d14d71aa8e4dcab0d Mon Sep 17 00:00:00 2001 From: Reverier-Xu Date: Mon, 9 Oct 2023 14:57:53 +0800 Subject: [PATCH] :arrow_up: update dependencies --- cli/Cargo.toml | 4 ++-- desktop/src-tauri/Cargo.toml | 13 +++++++++---- lib/Cargo.toml | 8 ++++---- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 3ea8228..9b37824 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -7,8 +7,8 @@ description = "Controlled TCP-over-WebSocket forwarding tunnel." [dependencies] wsrx = { version = "*", path = "../lib" } -tokio = { version = "1.31", features = ["full"] } -clap = {version = "4.3", features = ["cargo"]} +tokio = { version = "1.32", features = ["full"] } +clap = {version = "4.4", features = ["cargo"]} serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tokio-util = "0.7" diff --git a/desktop/src-tauri/Cargo.toml b/desktop/src-tauri/Cargo.toml index 844268d..3501595 100644 --- a/desktop/src-tauri/Cargo.toml +++ b/desktop/src-tauri/Cargo.toml @@ -8,14 +8,14 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [build-dependencies] -tauri-build = { version = "1.4", features = [] } +tauri-build = { version = "1.5", features = [] } [dependencies] -tauri = { version = "1.4", features = ["dialog-all", "fs-all", "protocol-all", "shell-open", "window-close", "window-hide", "window-maximize", "window-minimize", "window-show", "window-start-dragging", "window-unmaximize", "window-unminimize"] } +tauri = { version = "1.5", features = ["dialog-all", "fs-all", "protocol-all", "shell-open", "window-close", "window-hide", "window-maximize", "window-minimize", "window-show", "window-start-dragging", "window-unmaximize", "window-unminimize"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" wsrx = { version = "0.1", path = "../../lib" } -tokio = { version = "1.31", features = ["full"] } +tokio = { version = "1.32", features = ["full"] } tokio-util = "0.7" tokio-stream = "0.1" tokio-tungstenite = { version = "0.20", features = ["rustls-tls-native-roots"] } @@ -24,7 +24,12 @@ anyhow = "1.0" once_cell = "1.18" url = "2.4" log = "0.4" -reqwest = "0.11" +reqwest = { version = "0.11", features = [ + "rustls-tls", + "cookies", + "gzip", + "json", +], default-features = false } [features] # this feature is used for production builds or when `devPath` points to the filesystem diff --git a/lib/Cargo.toml b/lib/Cargo.toml index f39f557..ff39488 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wsrx" -version = "0.1.5" +version = "0.1.6" edition = "2021" authors = ["Reverier-Xu "] description = "Controlled TCP-over-WebSocket forwarding tunnel." @@ -11,7 +11,7 @@ readme = "README.md" license = "MPL-2.0" [dependencies] -tokio = { version = "1.31", features = ["full"] } +tokio = { version = "1.32", features = ["full"] } axum = { version = "0.6", features = [ "headers", "ws", @@ -21,12 +21,12 @@ axum = { version = "0.6", features = [ ] } tokio-util = "0.7" tokio-stream = "0.1" -bytes = "1.4" +bytes = "1.5" serde = { version = "1.0", features = ["derive"] } chrono = { version = "0.4", features = ["serde"] } thiserror = "1.0" anyhow = "1.0" -toml = "0.7" +toml = "0.8" uuid = "1.4" base64 = "0.21" tokio-tungstenite = { version = "0.20", features = ["rustls-tls-native-roots"] }