diff options
| author | mat <git@matdoes.dev> | 2025-02-22 23:01:54 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-02-22 23:01:54 +0000 |
| commit | 34f53baf85fb5c7163ec5d71a8ab9d45d3f271b6 (patch) | |
| tree | 7920fec1203e8e96463a142f5f6da6164e76e684 /azalea-client/src/ping.rs | |
| parent | bdd2fc91e11e2896d8e1c7046df247e1075bd40d (diff) | |
| download | azalea-drasl-34f53baf85fb5c7163ec5d71a8ab9d45d3f271b6.tar.xz | |
update to rust edition 2024
Diffstat (limited to 'azalea-client/src/ping.rs')
| -rwxr-xr-x | azalea-client/src/ping.rs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/azalea-client/src/ping.rs b/azalea-client/src/ping.rs index f5d714cd..38d5c26f 100755 --- a/azalea-client/src/ping.rs +++ b/azalea-client/src/ping.rs @@ -3,19 +3,20 @@ use std::io; use azalea_protocol::{ + ServerAddress, connect::{Connection, ConnectionError, Proxy}, packets::{ + ClientIntention, PROTOCOL_VERSION, handshake::{ - s_intention::ServerboundIntention, ClientboundHandshakePacket, - ServerboundHandshakePacket, + ClientboundHandshakePacket, ServerboundHandshakePacket, + s_intention::ServerboundIntention, }, status::{ - c_status_response::ClientboundStatusResponse, - s_status_request::ServerboundStatusRequest, ClientboundStatusPacket, + ClientboundStatusPacket, c_status_response::ClientboundStatusResponse, + s_status_request::ServerboundStatusRequest, }, - ClientIntention, PROTOCOL_VERSION, }, - resolver, ServerAddress, + resolver, }; use thiserror::Error; |
