msp 0.1.2

Fast and lightweight Minecraft Server protocol client implemented in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
use msp::{Conf, MspErr, Server};

fn main() -> Result<(), MspErr> {
    let server = Conf::create_with_port("www.example.com", 25565);
    let info: Server = server.get_server_status()?;

    println!("{}", info);

    Ok(())
}