Minecraft Server Status Client (Rust)
This Rust crate provides functionality to perform Minecraft server status queries using the official Minecraft protocol handshake and status query packets.
It supports:
- Establishing TCP connections (with optional DNS resolving).
- Sending Minecraft handshake packets.
- Sending status query packets.
- Parsing the server's JSON status response into a Rust struct.
Features
- Async/await based using Tokio.
- Optional DNS resolving feature (enabled via
resolvefeature flag). - Parses JSON server status into typed Rust structs.
- Socks5 proxy support.
- Timeout support on connections.
Usage Example
use Duration;
use Connection;
async