aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/Cargo.toml
blob: f1682e8be2148ec62aeed5ae357078ea652d1f74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
description = "Send and receive Minecraft packets."
edition = "2021"
license = "MIT"
name = "azalea-protocol"
repository = "https://github.com/mat-1/azalea/tree/main/azalea-protocol"
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.0", features = [
    "tokio",
    "zlib",
], optional = true }
async-recursion = "1.0.4"
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 = [
    "azalea-buf",
] }
azalea-buf = { path = "../azalea-buf", version = "^0.7.0" }
azalea-chat = { path = "../azalea-chat", version = "^0.7.0" }
azalea-core = { path = "../azalea-core", optional = true, version = "^0.7.0", features = [
    "serde",
] }
azalea-crypto = { path = "../azalea-crypto", version = "^0.7.0" }
azalea-entity = { version = "0.1.0", path = "../azalea-entity" }
azalea-inventory = { version = "0.7.0", path = "../azalea-inventory" }
azalea-nbt = { path = "../azalea-nbt", version = "^0.7.0", features = [
    "serde",
] }
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.0", default-features = false }
byteorder = "^1.4.3"
bytes = "^1.4.0"
flate2 = "1.0.26"
futures = "0.3.28"
futures-lite = "1.13.0"
futures-util = "0.3.28"
log = "0.4.19"
serde = { version = "^1.0", features = ["serde_derive"] }
serde_json = "^1.0.100"
thiserror = "1.0.43"
tokio = { version = "^1.29.1", features = ["io-util", "net", "macros"] }
tokio-util = { version = "0.7.8", features = ["codec"] }
trust-dns-resolver = { version = "^0.22.0", default-features = false, features = [
    "tokio-runtime",
] }
uuid = "1.4.0"

[features]
connecting = []
default = ["packets"]
packets = ["connecting", "dep:async-compression", "dep:azalea-core"]
strict_registry = ["packets"]

[dev-dependencies]
anyhow = "^1.0.71"
tracing = "^0.1.37"
tracing-subscriber = "^0.3.17"
once_cell = "1.18.0"