blob: fc278c2863e4439f4c286076e8f071cee9f2a10a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#[tokio::main]
async fn main() {
println!("Hello, world!");
// let address = "95.111.249.143:10000";
let address = "localhost:63097";
// let response = azalea_client::ping::ping_server(&address.try_into().unwrap())
// .await
// .unwrap();
// println!("{}", response.description.to_ansi(None));
let _response = azalea_client::connect::join_server(&address.try_into().unwrap())
.await
.unwrap();
println!("connected");
}
|