diff options
Diffstat (limited to 'azalea-protocol/examples')
| -rw-r--r-- | azalea-protocol/examples/handshake_proxy.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-protocol/examples/handshake_proxy.rs b/azalea-protocol/examples/handshake_proxy.rs index 442db386..8e675c58 100644 --- a/azalea-protocol/examples/handshake_proxy.rs +++ b/azalea-protocol/examples/handshake_proxy.rs @@ -1,6 +1,8 @@ //! A "simple" server that gets login information and proxies connections. //! After login all connections are encrypted and Azalea cannot read them. +use std::error::Error; + use azalea_protocol::{ connect::Connection, packets::{ @@ -22,7 +24,6 @@ use azalea_protocol::{ }; use futures::FutureExt; use once_cell::sync::Lazy; -use std::error::Error; use tokio::{ io::{self, AsyncWriteExt}, net::{TcpListener, TcpStream}, |
