Update dependencies to latest versions
All checks were successful
Gitea Actions Demo / build (push) Successful in 1m12s
All checks were successful
Gitea Actions Demo / build (push) Successful in 1m12s
- Update rand from 0.8.5 to 0.9.1 - Update tokio-tungstenite from 0.24.0 to 0.27.0 - Update all other dependencies to latest compatible versions - Fix API breaking change: replace text.into_bytes() with text.as_bytes() - All tests passing, no functionality changes
This commit is contained in:
parent
e2bd5e9be5
commit
b419463bb4
926
Cargo.lock
generated
926
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -15,9 +15,9 @@ http-body-util = "0.1"
|
||||
hyper = {version = "1.5.0", features = ["full"]}
|
||||
hyper-util = {version = "0.1", features = ["full"]}
|
||||
log = "0.4.22"
|
||||
rand = "0.8.5"
|
||||
rand = "0.9.1"
|
||||
serde = {version = "1.0.215", features = ["derive"]}
|
||||
serde_json = "1.0.133"
|
||||
tokio = {version = "1.41.1", features = ["full"]}
|
||||
tokio-tungstenite = "0.24.0"
|
||||
tokio-tungstenite = "0.27.0"
|
||||
url = "2.5.3"
|
||||
|
@ -143,7 +143,7 @@ async fn pipe(connect_addr: String) -> anyhow::Result<()> {
|
||||
|
||||
match message {
|
||||
Message::Text(text) => {
|
||||
let data = text.into_bytes();
|
||||
let data = text.as_bytes();
|
||||
|
||||
let wrapper =
|
||||
serde_json::from_slice::<clash_conn_msg::ClashConnectionsWrapper>(&data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user