chore: update Rust to 2024 edition (#2066)

This commit is contained in:
Luna Yao
2026-04-09 18:22:12 +02:00
committed by GitHub
parent a8feb9ac2b
commit a879dd1b14
158 changed files with 1327 additions and 1231 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
use std::sync::{atomic::AtomicBool, Arc, Mutex};
use std::sync::{Arc, Mutex, atomic::AtomicBool};
use futures::{SinkExt as _, StreamExt};
use tokio::{task::JoinSet, time::timeout};
@@ -6,7 +6,7 @@ use tokio::{task::JoinSet, time::timeout};
use crate::{
defer,
proto::rpc_types::error::Error,
tunnel::{packet_def::PacketType, ring::create_ring_tunnel_pair, Tunnel},
tunnel::{Tunnel, packet_def::PacketType, ring::create_ring_tunnel_pair},
};
use super::{client::Client, server::Server, service_registry::ServiceRegistry};