874b6f20c2
Основа — Horizon (MIT). История апстрима не переносится: этот репозиторий ведёт свою.
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
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"
|
|
|
|
# Its own name, not `probe`: Cargo copies every crate's examples into one target/<profile>/examples.
|
|
[[example]]
|
|
name = "world_probe"
|
|
path = "examples/probe/main.rs"
|
|
|
|
[lints]
|
|
workspace = true
|