azalea/azalea-buf/Cargo.toml
mat 5a9fca0ca9
Better errors (#14)
* make reading use thiserror

* finish implementing all the error things

* clippy warnings related to ok_or

* fix some errors in other places

* thiserror in more places

* don't use closures in a couple places

* errors in writing packet

* rip backtraces

* change some BufReadError::Custom to UnexpectedEnumVariant

* Errors say what packet is bad

* error on leftover data and fix

it wasn't reading the properties for gameprofile
2022-08-06 02:22:19 -05:00

17 lines
439 B
TOML

[package]
edition = "2021"
name = "azalea-buf"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
buf-macros = {path = "./buf-macros"}
byteorder = "^1.4.3"
serde_json = {version = "^1.0", optional = true}
thiserror = "^1.0.31"
tokio = {version = "^1.19.2", features = ["io-util", "net", "macros"]}
uuid = "^1.1.2"
[features]
serde_json = ["dep:serde_json"]