mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
* Serializing ClientboundStatusResponsePacket Enable serialization of ClientboundStatusResponsePacket * Update clientbound_status_response_packet.rs Add options previewsChat and enforcesSecureChat * Serialize Style and TextColor * Serialize BaseComponent * Serialize TextComponent * Fix Style * Serialize Component * Fix multiple formats per message, fix reset tag * Fix Style, again * Use FlatMapSerializer * Forgot italics * Count struct fields, reorganize logic * Serialize TranslatableComponent * Rewrite TextComponent Serializer * Fix using TextColor::Parse * Code Cleanup * Add default attribute, just in case * Clippy * use serde derive feature + preferred formatting choices * McBufWritable for BrigadierNodeStub * Thanks Clippy... * Implement suggestions in azalea-brigadier * Serde support for NBT Tags * Serde options * Forgot Options * Oops, that's McBufWritable for BrigadierParser * Fix McBufWritable for SlotData * Complete ClientboundUpdateRecipesPacket * fix some issues * better impl McBufReadable for Suggestions Co-authored-by: BuildTools <unconfigured@null.spigotmc.org> Co-authored-by: mat <github@matdoes.dev>
42 lines
1.7 KiB
TOML
Executable file
42 lines
1.7 KiB
TOML
Executable file
[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.4.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"], optional = true}
|
|
async-recursion = "1.0.0"
|
|
azalea-auth = {path = "../azalea-auth", version = "^0.4.0"}
|
|
azalea-block = {path = "../azalea-block", default-features = false, version = "^0.4.0"}
|
|
azalea-brigadier = {path = "../azalea-brigadier", version = "^0.4.0", features = ["azalea-buf"]}
|
|
azalea-buf = {path = "../azalea-buf", version = "^0.4.0"}
|
|
azalea-chat = {path = "../azalea-chat", version = "^0.4.0"}
|
|
azalea-core = {path = "../azalea-core", optional = true, version = "^0.4.0"}
|
|
azalea-crypto = {path = "../azalea-crypto", version = "^0.4.0"}
|
|
azalea-nbt = {path = "../azalea-nbt", version = "^0.4.0"}
|
|
azalea-protocol-macros = {path = "./azalea-protocol-macros", version = "^0.4.0"}
|
|
azalea-registry = {path = "../azalea-registry", version = "^0.4.0"}
|
|
azalea-world = {path = "../azalea-world", version = "^0.4.0"}
|
|
byteorder = "^1.4.3"
|
|
bytes = "^1.1.0"
|
|
flate2 = "1.0.23"
|
|
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"
|
|
thiserror = "^1.0.34"
|
|
tokio = {version = "^1.21.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"]}
|
|
uuid = "1.1.2"
|
|
|
|
[features]
|
|
connecting = []
|
|
default = ["packets"]
|
|
packets = ["connecting", "dep:async-compression", "dep:azalea-core"]
|