ismaileke / raknet-client

RakNet protocol written in Rust.
MIT License
1 stars 0 forks source link
bedrock-server minecraft minecraft-server raknet

raknet-client

RakNet Client written in Rust.

Usage

📄Cargo.toml

[dependencies]
raknet-client = { git = "https://github.com/ismaileke/raknet-client.git", branch = "master" }
tokio = "1.41.0"

📄main.rs

use raknet_client::client;

#[tokio::main]
async fn main() {
    let client = client::create("127.0.0.1".to_string(), 19132, "1.21.40".to_string(), true); // target address, target port, client version, debug mode
    client.await.unwrap().connect().expect("Target IP Connection Error");
}

raknet-client

[!NOTE] It is still in development. I can't develop the project because I don't have time. There are still some shortcomings.