a2f8952d05
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>
64 lines
2.7 KiB
TOML
64 lines
2.7 KiB
TOML
[package]
|
|
name = "horizon-client"
|
|
default-run = "horizon-client"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version = "1.90"
|
|
description = "Horizon native development client"
|
|
|
|
[dependencies]
|
|
horizon-assets = { path = "../horizon-assets" }
|
|
horizon-core = { path = "../horizon-core" }
|
|
horizon-world = { path = "../horizon-world" }
|
|
horizon-protocol = { path = "../horizon-protocol" }
|
|
# server.properties, eula.txt and the user lists, shared with horizon-server.
|
|
horizon-server-files = { path = "../horizon-server-files" }
|
|
horizon-friends = { path = "../horizon-friends" }
|
|
# Horizon mods: sandboxed WebAssembly components, off unless installed and turned on (docs/mods.md).
|
|
horizon-mods = { path = "../horizon-mods" }
|
|
wgpu = { version = "30.0.1", default-features = false, features = ["std", "parking_lot", "vulkan", "metal", "wgsl"] }
|
|
winit = "0.30.13"
|
|
pollster = "0.4"
|
|
bytemuck = { version = "1.24", features = ["derive"] }
|
|
glam = "0.30"
|
|
png = "0.18"
|
|
sha2 = "0.10.9"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { version = "1.0.151", features = ["raw_value"] }
|
|
# Shader packs: pack.toml, and WGSL checked before it reaches wgpu.
|
|
toml = "1.1"
|
|
naga = { version = "30.0.1", features = ["wgsl-in"] }
|
|
# Java (OptiFine/Iris) shader packs, translated to WGSL.
|
|
horizon-shaderpack = { path = "../horizon-shaderpack" }
|
|
cpal = "0.16"
|
|
symphonia = { version = "0.5", default-features = false, features = ["ogg", "vorbis"] }
|
|
miniz_oxide = "0.8"
|
|
ab_glyph = "0.2.32"
|
|
log = "0.4"
|
|
chrono = { version = "0.4.42", default-features = false, features = ["clock", "std"] }
|
|
flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs", "runtime_detection"] }
|
|
horizon-theme = { path = "../horizon-theme" }
|
|
# Opt-in data collection: the game keeps, the launcher sends (docs/telemetry.md).
|
|
horizon-telemetry = { path = "../horizon-telemetry", default-features = false }
|
|
horizon-bench = { path = "../horizon-bench" }
|
|
arboard = { version = "3.6.1", default-features = false, features = ["wayland-data-control"] }
|
|
zip = { version = "2", default-features = false, features = ["deflate"] }
|
|
# Controllers (evdev + libudev on Linux, IOKit on macOS, Windows.Gaming.Input).
|
|
gilrs = "0.11"
|
|
# The DualSense's rumble, adaptive triggers and lights over HID (gilrs only reads it).
|
|
horizon-dualsense = { path = "../horizon-dualsense" }
|
|
# HTTPS to the Minecraft services (online-mode session join).
|
|
ureq = { version = "2", default-features = false, features = ["tls"] }
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
# The icon resource in the .exe (build.rs).
|
|
winresource = "0.1"
|
|
|
|
[features]
|
|
# Records the call sites of mob random draws (`mob_ai_probe` traces).
|
|
rng-trace = ["horizon-core/rng-trace"]
|
|
|
|
[lints]
|
|
workspace = true
|