9f385280ef
tools/gen_version_consts.py writes what the pinned client jar's version.json states (name, id, protocol, data version, pack formats, Java, stable, build time) into horizon_core::version, and every Rust site reads it from there: PROTOCOL_VERSION, GAME_VERSION, DATA_VERSION, the save's and the datafixer's version name, /version, the crash report, the legacy ping, the dedicated server's start line, the title screens, the default resource folder, the resource pack format, and the launcher's and horizon-ctl's fallbacks. CI checks the file against the pinned jar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
645 B
TOML
22 lines
645 B
TOML
[package]
|
|
name = "horizon-protocol"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
description = "Horizon's Minecraft Java Edition 26.3 network protocol (version 777)"
|
|
|
|
[dependencies]
|
|
horizon-core = { path = "../horizon-core" }
|
|
horizon-world = { path = "../horizon-world" }
|
|
flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs", "runtime_detection"] }
|
|
serde_json = "1.0.151"
|
|
# The shared secret and RSA padding (OS randomness) and the server hash.
|
|
getrandom = "0.3"
|
|
sha1 = "0.10"
|
|
# Secure chat: SHA256withRSA message signatures.
|
|
sha2 = "0.10"
|
|
|
|
[lints]
|
|
workspace = true
|