diff options
| author | mat <git@matdoes.dev> | 2023-09-08 16:51:30 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-09-08 16:51:32 -0500 |
| commit | 35d6ac565d43234bec36e8f013e982f2ab4fc80f (patch) | |
| tree | a6544f04a327e77cc9708a6a6548d9cb8aa99941 /azalea-protocol | |
| parent | e6a787f77752da4593964eba775e82f8c6d282b4 (diff) | |
| download | azalea-drasl-35d6ac565d43234bec36e8f013e982f2ab4fc80f.tar.xz | |
upgrade deps
Diffstat (limited to 'azalea-protocol')
| -rw-r--r-- | azalea-protocol/Cargo.toml | 16 | ||||
| -rw-r--r-- | azalea-protocol/azalea-protocol-macros/Cargo.toml | 4 | ||||
| -rwxr-xr-x | azalea-protocol/src/resolver.rs | 3 |
3 files changed, 11 insertions, 12 deletions
diff --git a/azalea-protocol/Cargo.toml b/azalea-protocol/Cargo.toml index 8caf5852..01ce9314 100644 --- a/azalea-protocol/Cargo.toml +++ b/azalea-protocol/Cargo.toml @@ -9,11 +9,11 @@ version = "0.7.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -async-compression = { version = "^0.4.1", features = [ +async-compression = { version = "^0.4.2", features = [ "tokio", "zlib", ], optional = true } -async-recursion = "1.0.4" +async-recursion = "1.0.5" azalea-auth = { path = "../azalea-auth", version = "^0.7.0" } azalea-block = { path = "../azalea-block", default-features = false, version = "^0.7.0" } azalea-brigadier = { path = "../azalea-brigadier", version = "^0.7.0", features = [ @@ -33,9 +33,9 @@ azalea-nbt = { path = "../azalea-nbt", version = "^0.7.0", features = [ azalea-protocol-macros = { path = "./azalea-protocol-macros", version = "^0.7.0" } azalea-registry = { path = "../azalea-registry", version = "^0.7.0" } azalea-world = { path = "../azalea-world", version = "^0.7.0" } -bevy_ecs = { version = "0.11.1", default-features = false } +bevy_ecs = { version = "0.11.2", default-features = false } byteorder = "^1.4.3" -bytes = "^1.4.0" +bytes = "^1.5.0" flate2 = "1.0.27" futures = "0.3.28" futures-lite = "1.13.0" @@ -43,10 +43,10 @@ futures-util = "0.3.28" log = "0.4.20" serde = { version = "^1.0", features = ["serde_derive"] } serde_json = "^1.0.105" -thiserror = "1.0.46" -tokio = { version = "^1.31.0", features = ["io-util", "net", "macros"] } +thiserror = "1.0.48" +tokio = { version = "^1.32.0", features = ["io-util", "net", "macros"] } tokio-util = { version = "0.7.8", features = ["codec"] } -trust-dns-resolver = { version = "^0.22.0", default-features = false, features = [ +trust-dns-resolver = { version = "^0.23.0", default-features = false, features = [ "tokio-runtime", ] } uuid = "1.4.1" @@ -58,7 +58,7 @@ packets = ["connecting", "dep:async-compression", "dep:azalea-core"] strict_registry = ["packets"] [dev-dependencies] -anyhow = "^1.0.74" +anyhow = "^1.0.75" tracing = "^0.1.37" tracing-subscriber = "^0.3.17" once_cell = "1.18.0" diff --git a/azalea-protocol/azalea-protocol-macros/Cargo.toml b/azalea-protocol/azalea-protocol-macros/Cargo.toml index 2a890eab..15a3ebeb 100644 --- a/azalea-protocol/azalea-protocol-macros/Cargo.toml +++ b/azalea-protocol/azalea-protocol-macros/Cargo.toml @@ -12,5 +12,5 @@ proc-macro = true [dependencies] proc-macro2 = "^1.0.66" -quote = "^1.0.32" -syn = "^2.0.28" +quote = "^1.0.33" +syn = "^2.0.31" diff --git a/azalea-protocol/src/resolver.rs b/azalea-protocol/src/resolver.rs index 6f6f799c..79dd660f 100755 --- a/azalea-protocol/src/resolver.rs +++ b/azalea-protocol/src/resolver.rs @@ -30,8 +30,7 @@ pub async fn resolve_address(address: &ServerAddress) -> Result<SocketAddr, Reso // we specify Cloudflare instead of the default resolver because // trust_dns_resolver has an issue on Windows where it's really slow using the // default resolver - let resolver = - TokioAsyncResolver::tokio(ResolverConfig::cloudflare(), ResolverOpts::default()).unwrap(); + let resolver = TokioAsyncResolver::tokio(ResolverConfig::cloudflare(), ResolverOpts::default()); // first, we do a srv lookup for _minecraft._tcp.<host> let srv_redirect_result = resolver |
