2022-11-14 01:10:42 +11:00
|
|
|
[package]
|
|
|
|
name = "valence_protocol"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
build = "build/main.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
aes = { version = "0.7.5", optional = true }
|
|
|
|
anyhow = "1.0.66"
|
2023-01-17 11:32:22 +11:00
|
|
|
bitfield-struct = "0.3.1"
|
2022-11-14 01:10:42 +11:00
|
|
|
byteorder = "1.4.3"
|
|
|
|
bytes = "1.2.1"
|
|
|
|
cfb8 = { version = "0.7.1", optional = true }
|
|
|
|
flate2 = { version = "1.0.24", optional = true }
|
2023-04-01 08:58:47 +11:00
|
|
|
glam = { version = "0.23.0", optional = true }
|
2022-11-14 01:10:42 +11:00
|
|
|
serde = { version = "1.0.147", features = ["derive"] }
|
|
|
|
serde_json = "1.0.87"
|
|
|
|
thiserror = "1.0.37"
|
2023-01-17 11:32:22 +11:00
|
|
|
tracing = "0.1.37"
|
2023-01-20 17:00:35 +11:00
|
|
|
uuid = { version = "1.2.1", features = ["serde"] }
|
2023-02-12 04:51:53 +11:00
|
|
|
valence_protocol_macros = { version = "0.1.0", path = "../valence_protocol_macros" }
|
2022-12-16 13:38:52 +11:00
|
|
|
valence_nbt = { version = "0.5.0", path = "../valence_nbt" }
|
2022-11-14 01:10:42 +11:00
|
|
|
|
2022-12-20 01:25:26 +11:00
|
|
|
[[bench]]
|
|
|
|
name = "benches"
|
|
|
|
harness = false
|
2022-11-14 01:10:42 +11:00
|
|
|
|
2022-12-21 20:24:02 +11:00
|
|
|
[dev-dependencies]
|
|
|
|
rand = "0.8.5"
|
|
|
|
criterion = "0.4.0"
|
|
|
|
valence_protocol = { version = "0.1.0", path = ".", features = ["compression"] }
|
|
|
|
|
2022-11-14 01:10:42 +11:00
|
|
|
[build-dependencies]
|
|
|
|
anyhow = "1.0.65"
|
|
|
|
heck = "0.4.0"
|
|
|
|
proc-macro2 = "1.0.43"
|
|
|
|
quote = "1.0.21"
|
|
|
|
serde = { version = "1.0.145", features = ["derive"] }
|
|
|
|
serde_json = "1.0.85"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
encryption = ["dep:aes", "dep:cfb8"]
|
|
|
|
compression = ["dep:flate2"]
|
2023-04-01 08:58:47 +11:00
|
|
|
glam = ["dep:glam"]
|