[package]
name = "potato-protocol"
version.workspace = true
edition.workspace = true

[dependencies]
potato-data = { path = "../potato-data" }
potato-protocol-derive = { path = "../potato-protocol-derive" }

serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
uuid.workspace = true
bytes.workspace = true
tokio.workspace = true

byteorder = "1.5.0"

# Build from git, since there has not been a release in over a year
# Original repo: https://github.com/owengage/fastnbt.git Using a fork 
# to fix an issue with boolean serialization.
fastnbt = { git = "https://github.com/CheAle14/fastnbt.git" }

[build-dependencies]
serde.workspace = true
serde_json.workspace = true