aboutsummaryrefslogtreecommitdiff
path: root/azalea-chat/Cargo.toml
diff options
context:
space:
mode:
authorEightFactorial <murphkev000@gmail.com>2022-12-03 17:08:05 -0800
committerGitHub <noreply@github.com>2022-12-03 19:08:05 -0600
commit3b93fc641250c4d01ab7f0764b7d5faec2f8ae5b (patch)
tree727b94c9f90bba59f8571ecebeab1a33e0f4af07 /azalea-chat/Cargo.toml
parent661c3622bebc111a1523bc80792dc90d9d571b24 (diff)
downloadazalea-drasl-3b93fc641250c4d01ab7f0764b7d5faec2f8ae5b.tar.xz
Serialize Component (#47)
* 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 Co-authored-by: BuildTools <unconfigured@null.spigotmc.org> Co-authored-by: mat <github@matdoes.dev>
Diffstat (limited to 'azalea-chat/Cargo.toml')
-rwxr-xr-xazalea-chat/Cargo.toml8
1 files changed, 4 insertions, 4 deletions
diff --git a/azalea-chat/Cargo.toml b/azalea-chat/Cargo.toml
index b85726a3..a1caccf2 100755
--- a/azalea-chat/Cargo.toml
+++ b/azalea-chat/Cargo.toml
@@ -3,14 +3,14 @@ description = "Parse Minecraft chat messages."
edition = "2021"
license = "MIT"
name = "azalea-chat"
-version = "0.4.0"
repository = "https://github.com/mat-1/azalea/tree/main/azalea-chat"
+version = "0.4.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-azalea-buf = {path = "../azalea-buf", features = ["serde_json"], version = "^0.4.0" }
-azalea-language = {path = "../azalea-language", version = "^0.4.0" }
+azalea-buf = {path = "../azalea-buf", features = ["serde_json"], version = "^0.4.0"}
+azalea-language = {path = "../azalea-language", version = "^0.4.0"}
once_cell = "1.16.0"
-serde = "^1.0.130"
+serde = {version = "^1.0.148", features = ["derive"]}
serde_json = "^1.0.72"