diff options
| author | EightFactorial <29801334+EightFactorial@users.noreply.github.com> | 2023-03-11 14:00:10 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-11 16:00:10 -0600 |
| commit | c57c68ddf8cb9e4e8d27cf3e08f267a8a020c1c0 (patch) | |
| tree | 3209e7c0f93f81c09d48fb13cd3a240c04aaa3b8 /azalea-protocol/Cargo.toml | |
| parent | f28efd5637cf3e129af018066421c090cb73ad50 (diff) | |
| download | azalea-drasl-c57c68ddf8cb9e4e8d27cf3e08f267a8a020c1c0.tar.xz | |
Add RegistryHolder struct and serde features (#81)
* Make RegistryHolder struct
* Update deps
* Move RegistryHolder to azalea-protocol
* Convert bytes to bools and back
* Rename and shuffle logic
* Move logic into trait, rename methods
* Final touchups
* Ah, merge mistakes
* Add serde support for ResourceLocation
* Reuse structs
* Error when serde skips values in debug mode
Add missing attributes
* Strict_registry feature, require packet feature
* Add test
* Move into packets
* Docs and touchups
* Reword docs
* Move into module inside ClientboundLoginPacket
* Add azalea-nbt serde feature
* remove duplicate comment and type_ -> kind
---------
Co-authored-by: mat <github@matdoes.dev>
Diffstat (limited to 'azalea-protocol/Cargo.toml')
| -rw-r--r-- | azalea-protocol/Cargo.toml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/azalea-protocol/Cargo.toml b/azalea-protocol/Cargo.toml index 1bbda7eb..e9834d58 100644 --- a/azalea-protocol/Cargo.toml +++ b/azalea-protocol/Cargo.toml @@ -21,21 +21,21 @@ azalea-brigadier = { path = "../azalea-brigadier", version = "^0.6.0", features ] } azalea-buf = { path = "../azalea-buf", version = "^0.6.0" } azalea-chat = { path = "../azalea-chat", version = "^0.6.0" } -azalea-core = { path = "../azalea-core", optional = true, version = "^0.6.0" } +azalea-core = { path = "../azalea-core", optional = true, version = "^0.6.0", features = ["serde"]} azalea-crypto = { path = "../azalea-crypto", version = "^0.6.0" } -azalea-nbt = { path = "../azalea-nbt", version = "^0.6.0" } +azalea-nbt = { path = "../azalea-nbt", version = "^0.6.0", features = ["serde"] } 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 } byteorder = "^1.4.3" bytes = "^1.1.0" -flate2 = "1.0.23" +flate2 = "1.0.25" futures = "0.3.24" futures-util = "0.3.24" log = "0.4.17" -serde = { version = "1.0.130", features = ["serde_derive"] } -serde_json = "^1.0.72" +serde = { version = "1.0.152", features = ["serde_derive"] } +serde_json = "^1.0.93" thiserror = "1.0.37" tokio = { version = "^1.24.2", features = ["io-util", "net", "macros"] } tokio-util = { version = "0.7.4", features = ["codec"] } @@ -48,6 +48,7 @@ uuid = "1.1.2" connecting = [] default = ["packets"] packets = ["connecting", "dep:async-compression", "dep:azalea-core"] +strict_registry = ["packets"] [dev-dependencies] anyhow = "^1.0.65" |
