diff options
| author | mat <git@matdoes.dev> | 2026-03-18 16:28:46 -1030 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-03-20 04:21:58 -0200 |
| commit | 25cd1c0b60604655b70d70f8ec33a54853905eea (patch) | |
| tree | 28911045f6d69b2fffcb8d9c5a92fe32657b5e4b /azalea-protocol/examples/handshake_proxy.rs | |
| parent | b03d2942e1bef98e13acadde5cbb8856a3f8c74d (diff) | |
| download | azalea-drasl-25cd1c0b60604655b70d70f8ec33a54853905eea.tar.xz | |
optimize pathfinder swarms and write perf guide
Diffstat (limited to 'azalea-protocol/examples/handshake_proxy.rs')
| -rw-r--r-- | azalea-protocol/examples/handshake_proxy.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/examples/handshake_proxy.rs b/azalea-protocol/examples/handshake_proxy.rs index cfe4af52..0d04d526 100644 --- a/azalea-protocol/examples/handshake_proxy.rs +++ b/azalea-protocol/examples/handshake_proxy.rs @@ -49,7 +49,7 @@ const PROXY_PLAYERS: Players = Players { const PROXY_SECURE_CHAT: Option<bool> = Some(false); #[tokio::main] -async fn main() -> anyhow::Result<()> { +async fn main() -> eyre::Result<()> { tracing_subscriber::fmt().with_max_level(Level::INFO).init(); // Bind to an address and port @@ -64,7 +64,7 @@ async fn main() -> anyhow::Result<()> { } } -async fn handle_connection(stream: TcpStream) -> anyhow::Result<()> { +async fn handle_connection(stream: TcpStream) -> eyre::Result<()> { stream.set_nodelay(true)?; let ip = stream.peer_addr()?; let mut conn: Connection<ServerboundHandshakePacket, ClientboundHandshakePacket> = |
