mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
Bump tokio
This commit is contained in:
parent
c9a070f711
commit
438d633b83
5 changed files with 7 additions and 7 deletions
|
@ -13,4 +13,4 @@ azalea-entity = {path = "../azalea-entity"}
|
|||
azalea-protocol = {path = "../azalea-protocol"}
|
||||
azalea-world = {path = "../azalea-world"}
|
||||
owning_ref = "0.4.1"
|
||||
tokio = {version = "1.18.0", features = ["sync"]}
|
||||
tokio = {version = "1.19.2", features = ["sync"]}
|
||||
|
|
|
@ -9,4 +9,4 @@ version = "0.1.0"
|
|||
lazy_static = "1.4.0"
|
||||
serde = "1.0.137"
|
||||
serde_json = "1.0.81"
|
||||
# tokio = {version = "1.18.2", features = ["fs"]}
|
||||
# tokio = {version = "^1.19.2", features = ["fs"]}
|
||||
|
|
|
@ -23,7 +23,7 @@ packet-macros = {path = "./packet-macros"}
|
|||
serde = {version = "1.0.130", features = ["serde_derive"]}
|
||||
serde_json = "^1.0.72"
|
||||
thiserror = "^1.0.30"
|
||||
tokio = {version = "^1.14.0", features = ["io-util", "net", "macros"]}
|
||||
tokio = {version = "^1.19.2", features = ["io-util", "net", "macros"]}
|
||||
tokio-util = "^0.6.9"
|
||||
trust-dns-resolver = "^0.20.3"
|
||||
uuid = "^1.1.2"
|
||||
|
|
|
@ -9,4 +9,4 @@ version = "0.1.0"
|
|||
azalea-client = {path = "../azalea-client"}
|
||||
azalea-core = {path = "../azalea-core"}
|
||||
azalea-protocol = {path = "../azalea-protocol"}
|
||||
tokio = "^1.14.0"
|
||||
tokio = "^1.19.2"
|
||||
|
|
|
@ -6,7 +6,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
println!("Hello, world!");
|
||||
|
||||
// let address = "95.111.249.143:10000";
|
||||
let address = "localhost:61146";
|
||||
let address = "localhost:59021";
|
||||
// let response = azalea_client::ping::ping_server(&address.try_into().unwrap())
|
||||
// .await
|
||||
// .unwrap();
|
||||
|
@ -22,10 +22,10 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
Event::Login => {}
|
||||
Event::Chat(_p) => {
|
||||
let world = client.world();
|
||||
world.get_block_state(&BlockPos::new(0, 0, 0)).unwrap();
|
||||
let b = world.get_block_state(&BlockPos::new(0, 0, 0)).unwrap();
|
||||
// let world = state.world.as_ref().unwrap();
|
||||
// world.
|
||||
// println!("{:#?}", world);
|
||||
println!("{:?}", b);
|
||||
// world.get_block_state(state.player.entity.pos);
|
||||
// println!("{}", p.message.to_ansi(None));
|
||||
// if p.message.to_ansi(None) == "<py5> ok" {
|
||||
|
|
Loading…
Add table
Reference in a new issue