Files
horizon-airdef/crates/horizon-world/Cargo.toml
T
Ludovic Marie a2f8952d05 Compression: flate2's zlib-rs backend instead of miniz_oxide
Halves the CPU of deflating a chunk column and makes small packets about
20 % cheaper. The compressed bytes change; what they inflate to doesn't.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 23:18:12 +02:00

30 lines
936 B
TOML

[package]
name = "horizon-world"
version = "0.1.0"
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "Horizon vanilla world data, NBT, regions and chunk storage"
[dependencies]
libm = "=0.2.16"
serde_json = { version = "1.0.151", features = ["raw_value"] }
serde = { version = "1", features = ["derive"] }
sha2 = "0.10"
postcard = { version = "=1.1.3", default-features = false, features = ["alloc"] }
horizon-core = { path = "../horizon-core" }
flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs", "runtime_detection"] }
lz4_flex = { version = "0.14", default-features = false, features = ["std", "safe-encode", "safe-decode", "checked-decode"] }
xxhash-rust = { version = "0.8.19", features = ["xxh32"] }
[[bin]]
name = "horizon-world"
path = "src/main.rs"
[[bin]]
name = "horizon-worldgen-parity"
path = "src/bin/worldgen_parity.rs"
[lints]
workspace = true