0b581f9ffe
horizon-client, horizon-world and horizon-protocol each had an example named `probe`. Cargo copies every crate's examples into one <profile>/examples/ directory, so parallel parity harnesses sharing a target dir could run another crate's probe (CI parity run 40055656303: command_parse ran the horizon-world dispatcher). The examples are now client_probe, world_probe and protocol_probe ([[example]] in each Cargo.toml; the files stay where they are), and every harness builds and runs its own crate's name. tools/parity.py recognises the new names when it counts the probes a harness ran, and renames the old `probe` in recorded artifacts to the crate's target (from the record's -p, else its probe sources), so the prebuild still builds them instead of dropping them as unknown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
|