Skip to content

Commit d13eaa0

Browse files
committed
⬆️ update to rust 1.88
1 parent 6d4bb7e commit d13eaa0

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

Cargo.toml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2024"
88
homepage = "https://github.com/XDSEC/WebSocketReflectorX"
99
license = "MIT"
1010
repository = "https://github.com/XDSEC/WebSocketReflectorX"
11-
rust-version = "1.86.0"
11+
rust-version = "1.88.0"
1212
version = "0.5.3"
1313

1414
[profile.release]
@@ -19,6 +19,7 @@ panic = "abort"
1919
strip = true
2020

2121
[workspace.dependencies]
22+
axum = { version = "0.8", features = ["macros", "ws"] }
2223
directories = "6.0"
2324
futures-util = { version = "0.3", features = ["sink"] }
2425
local-ip-address = "0.6"
@@ -27,9 +28,8 @@ thiserror = "2.0"
2728
tokio = { version = "1.45", features = ["full"] }
2829
tokio-util = { version = "0.7", features = ["codec"] }
2930

30-
axum = { version = "0.8", features = ["macros", "ws"] }
3131
# optional
32-
tokio-tungstenite = { version = "0.26", features = ["rustls-tls-native-roots"] }
32+
tokio-tungstenite = { version = "0.27", features = ["rustls-tls-native-roots"] }
3333

3434
# binary cli only
3535
bitflags = { version = "2.9" }
@@ -49,15 +49,16 @@ url = { version = "2.5" }
4949
# GUI
5050
async-compat = { version = "0.2" }
5151
i-slint-backend-winit = "1.10"
52-
# notify-rust = "4.11"
53-
open = "5.3"
52+
open = "5.3"
53+
5454
reqwest = { version = "0.12", default-features = false, features = [
5555
"blocking",
5656
"charset",
5757
"http2",
5858
"json",
5959
"rustls-tls",
6060
] }
61+
6162
slint = { version = "1.11", default-features = false, features = [
6263
"accessibility",
6364
"backend-winit",
@@ -68,12 +69,13 @@ slint = { version = "1.11", default-features = false, features = [
6869
"serde",
6970
"std",
7071
] }
72+
7173
sys-locale = "0.3"
72-
sysinfo = "0.35"
73-
toml = "0.8"
74-
# tray-icon = "0.20"
75-
winit = "0.30"
74+
sysinfo = "0.35"
75+
toml = "0.8"
76+
winit = "0.30"
7677

78+
# build dependencies
7779
build-target = "0.7"
7880
git-version = "0.3"
7981
rustc_version = "0.4"

crates/desktop/src/daemon/api_controller.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ async fn launch_instance(
169169
return Err((
170170
StatusCode::BAD_REQUEST,
171171
format!(
172-
"The local address {} is already taken by another instance",
173-
local
172+
"The local address {local} is already taken by another instance"
174173
),
175174
));
176175
}
@@ -323,7 +322,7 @@ async fn get_control_status(
323322
} else {
324323
Err((
325324
StatusCode::FORBIDDEN,
326-
format!("Scope {} not found", req_scope),
325+
format!("Scope {req_scope} not found"),
327326
))
328327
}
329328
}
@@ -443,7 +442,7 @@ async fn update_website_info(
443442
} else {
444443
Err((
445444
StatusCode::FORBIDDEN,
446-
format!("Scope {} not found", req_scope),
445+
format!("Scope {req_scope} not found"),
447446
))
448447
}
449448
}

crates/wsrx/src/cli/serve.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ async fn get_tunnels(State(connections): State<ConnectionMap>) -> impl IntoRespo
121121
let resp = serde_json::to_string::<HashMap<String, String>>(&pool).map_err(|e| {
122122
(
123123
StatusCode::INTERNAL_SERVER_ERROR,
124-
format!("failed to serialize pool: {}", e),
124+
format!("failed to serialize pool: {e}"),
125125
)
126126
});
127127
axum::response::Response::builder()

0 commit comments

Comments
 (0)