diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2022-06-25 05:09:26 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-25 05:09:26 +0000 |
| commit | 7d3e57763e32ac9cf94180b1c714704cfbc3034d (patch) | |
| tree | 2dcfe72bf09a42f6614f9dc988dc0254162ea0bf /azalea-protocol/Cargo.toml | |
| parent | 69c47eda4c496b13dadd80976bffd2fab7ea5894 (diff) | |
| parent | ca7067e173129f3044ebc8c77634f06da29a086e (diff) | |
| download | azalea-drasl-7d3e57763e32ac9cf94180b1c714704cfbc3034d.tar.xz | |
Merge pull request #10 from mat-1/azalea-entity
azalea-entity
Diffstat (limited to 'azalea-protocol/Cargo.toml')
| -rwxr-xr-x | azalea-protocol/Cargo.toml | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/azalea-protocol/Cargo.toml b/azalea-protocol/Cargo.toml index e49088bc..17884a51 100755 --- a/azalea-protocol/Cargo.toml +++ b/azalea-protocol/Cargo.toml @@ -6,13 +6,15 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -async-compression = {version = "^0.3.8", features = ["tokio", "zlib"]} -async-recursion = "^1.0.0" +async-compression = {version = "^0.3.8", features = ["tokio", "zlib"], optional = true} +async-recursion = "1.0.0" azalea-auth = {path = "../azalea-auth"} azalea-brigadier = {path = "../azalea-brigadier"} +azalea-buf = {path = "../azalea-buf"} azalea-chat = {path = "../azalea-chat"} -azalea-core = {path = "../azalea-core"} +azalea-core = {path = "../azalea-core", optional = true} azalea-crypto = {path = "../azalea-crypto"} +azalea-entity = {path = "../azalea-entity"} azalea-nbt = {path = "../azalea-nbt"} byteorder = "^1.4.3" bytes = "^1.1.0" @@ -20,6 +22,13 @@ flate2 = "1.0.23" packet-macros = {path = "./packet-macros"} serde = {version = "1.0.130", features = ["serde_derive"]} serde_json = "^1.0.72" -tokio = {version = "1.19.2", features = ["io-util", "net", "macros"]} -trust-dns-resolver = {version = "^0.21.2"} -uuid = "^1.1.2" +thiserror = "^1.0.30" +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" + +[features] +connecting = [] +default = ["packets"] +packets = ["connecting", "dep:async-compression", "dep:azalea-core"] |
