2021-12-06 06:28:40 +00:00
|
|
|
[package]
|
2022-09-05 15:36:48 +00:00
|
|
|
description = "Send and receive Minecraft packets."
|
2021-12-09 18:14:18 +00:00
|
|
|
edition = "2021"
|
2022-09-05 15:36:48 +00:00
|
|
|
license = "MIT"
|
2021-12-16 05:10:55 +00:00
|
|
|
name = "azalea-protocol"
|
2022-10-30 19:03:13 +00:00
|
|
|
repository = "https://github.com/mat-1/azalea/tree/main/azalea-protocol"
|
2023-02-10 03:03:16 +00:00
|
|
|
version = "0.6.0"
|
2021-12-06 06:28:40 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-03-07 20:14:36 +00:00
|
|
|
async-compression = { version = "^0.3.8", features = [
|
|
|
|
"tokio",
|
|
|
|
"zlib",
|
|
|
|
], optional = true }
|
2022-06-25 05:08:22 +00:00
|
|
|
async-recursion = "1.0.0"
|
2023-03-07 20:14:36 +00:00
|
|
|
azalea-auth = { path = "../azalea-auth", version = "^0.6.0" }
|
|
|
|
azalea-block = { path = "../azalea-block", default-features = false, version = "^0.6.0" }
|
|
|
|
azalea-brigadier = { path = "../azalea-brigadier", version = "^0.6.0", features = [
|
|
|
|
"azalea-buf",
|
|
|
|
] }
|
|
|
|
azalea-buf = { path = "../azalea-buf", version = "^0.6.0" }
|
|
|
|
azalea-chat = { path = "../azalea-chat", version = "^0.6.0" }
|
2023-03-14 06:22:15 +00:00
|
|
|
azalea-core = { path = "../azalea-core", optional = true, version = "^0.6.0", features = [
|
|
|
|
"serde",
|
|
|
|
] }
|
2023-03-07 20:14:36 +00:00
|
|
|
azalea-crypto = { path = "../azalea-crypto", version = "^0.6.0" }
|
2023-05-04 01:57:27 +00:00
|
|
|
azalea-inventory = { version = "0.1.0", path = "../azalea-inventory" }
|
2023-03-14 06:22:15 +00:00
|
|
|
azalea-nbt = { path = "../azalea-nbt", version = "^0.6.0", features = [
|
|
|
|
"serde",
|
|
|
|
] }
|
2023-03-07 20:14:36 +00:00
|
|
|
azalea-protocol-macros = { path = "./azalea-protocol-macros", version = "^0.6.0" }
|
|
|
|
azalea-registry = { path = "../azalea-registry", version = "^0.6.0" }
|
|
|
|
azalea-world = { path = "../azalea-world", version = "^0.6.0" }
|
|
|
|
bevy_ecs = { version = "0.10.0", default-features = false }
|
2021-12-06 06:28:40 +00:00
|
|
|
byteorder = "^1.4.3"
|
|
|
|
bytes = "^1.1.0"
|
2023-03-11 22:00:10 +00:00
|
|
|
flate2 = "1.0.25"
|
2022-10-08 04:56:23 +00:00
|
|
|
futures = "0.3.24"
|
|
|
|
futures-util = "0.3.24"
|
2022-09-09 19:27:59 +00:00
|
|
|
log = "0.4.17"
|
2023-05-01 23:36:40 +00:00
|
|
|
serde = { version = "^1.0", features = ["serde_derive"] }
|
2023-03-11 22:00:10 +00:00
|
|
|
serde_json = "^1.0.93"
|
2022-12-08 03:09:58 +00:00
|
|
|
thiserror = "1.0.37"
|
2023-03-07 20:14:36 +00:00
|
|
|
tokio = { version = "^1.24.2", features = ["io-util", "net", "macros"] }
|
|
|
|
tokio-util = { version = "0.7.4", features = ["codec"] }
|
|
|
|
trust-dns-resolver = { version = "^0.22.0", default-features = false, features = [
|
|
|
|
"tokio-runtime",
|
|
|
|
] }
|
2022-06-25 05:08:22 +00:00
|
|
|
uuid = "1.1.2"
|
2022-06-23 20:12:17 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
connecting = []
|
|
|
|
default = ["packets"]
|
|
|
|
packets = ["connecting", "dep:async-compression", "dep:azalea-core"]
|
2023-03-11 22:00:10 +00:00
|
|
|
strict_registry = ["packets"]
|
2023-01-22 04:14:23 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
anyhow = "^1.0.65"
|
|
|
|
tracing = "^0.1.36"
|
|
|
|
tracing-subscriber = "^0.3.15"
|
2023-02-10 03:03:16 +00:00
|
|
|
once_cell = "1.17.0"
|