mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 02:56:17 -10:00
Members declared 1.85 to 1.95, or nothing. horizon-mods needs 1.95 and sits under horizon-client-lib, cargo-horizon-mod and the launcher, so 1.95 is the version the game really needs; the lower numbers promised builds that could not happen. Set it once in [workspace.package] and inherit it everywhere. The separately built workspaces (launcher, telemetry server, mod registry, third_party) cannot inherit it and keep their own. Co-Authored-By: Claude Opus 5.5 <[email protected]>
87 lines
3.9 KiB
TOML
87 lines
3.9 KiB
TOML
[package]
|
|
name = "horizon-client-render"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
description = "The client's world data, rendering and screens: chunks, meshing, light, streaming, the renderer, the HUD, menus and settings; no gameplay"
|
|
|
|
[dependencies]
|
|
horizon-cosmetics = { path = "../horizon-cosmetics" }
|
|
# The GUI atlas's pixels, kept compressed once uploaded (hud.rs `pack_pixels`).
|
|
lz4_flex = { version = "0.14", default-features = false, features = ["std", "safe-encode", "safe-decode", "checked-decode"] }
|
|
horizon-assets = { path = "../horizon-assets" }
|
|
horizon-bench = { path = "../horizon-bench" }
|
|
horizon-client-core = { path = "../horizon-client-core" }
|
|
horizon-client-input = { path = "../horizon-client-input" }
|
|
horizon-command = { path = "../horizon-command" }
|
|
horizon-core = { path = "../horizon-core" }
|
|
horizon-hdr = { path = "../horizon-hdr" }
|
|
horizon-items = { path = "../horizon-items" }
|
|
# The narrator option's status and whether the narrator is there (Options.narrator).
|
|
horizon-narrator = { path = "../horizon-narrator" }
|
|
# OptiFine-format pack files: random entity textures (hud.rs), connected textures
|
|
# (connected.rs) and custom item texture rules (cit.rs).
|
|
horizon-optifine = { path = "../horizon-optifine" }
|
|
horizon-protocol = { path = "../horizon-protocol" }
|
|
horizon-shader-api = { path = "../horizon-shader-api" }
|
|
horizon-shaders = { path = "../horizon-shaders" }
|
|
horizon-telemetry = { path = "../horizon-telemetry", default-features = false, features = ["live"] }
|
|
horizon-theme = { path = "../horizon-theme" }
|
|
horizon-threads = { path = "../horizon-threads" }
|
|
horizon-world = { path = "../horizon-world" }
|
|
ab_glyph = "0.2.32"
|
|
base64 = "0.22"
|
|
bytemuck = { version = "1.24", features = ["derive"] }
|
|
# Sound (ALSA on Linux); the `audio` feature.
|
|
cpal = { version = "0.16", optional = true }
|
|
chrono = { version = "0.4.42", default-features = false, features = ["clock", "std"] }
|
|
flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs", "runtime_detection"] }
|
|
glam = "0.30"
|
|
log = "0.4"
|
|
miniz_oxide = "0.8"
|
|
naga = { version = "30.0.1", features = ["wgsl-in", "glsl-in", "hlsl-out"] }
|
|
half = "2"
|
|
png = "0.18"
|
|
# Project icons served by Modrinth are often WebP or JPEG rather than PNG, and
|
|
# the pack browser showed nothing for those. Both are small pure-Rust decoders.
|
|
image-webp = { version = "0.2", default-features = false }
|
|
zune-jpeg = { version = "0.4", default-features = false, features = ["std"] }
|
|
pollster = "0.4"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { version = "1.0.151", features = ["raw_value"] }
|
|
sha1 = "0.10"
|
|
sha2 = "0.10.9"
|
|
smallvec = { version = "1", features = ["const_new"] }
|
|
symphonia = { version = "0.5", default-features = false, features = ["ogg", "vorbis"] }
|
|
unicode-bidi = "0.3.18"
|
|
ureq = { version = "2", default-features = false, features = ["tls"] }
|
|
wgpu = { version = "30.0.1", default-features = false, features = ["std", "parking_lot", "vulkan", "metal", "wgsl", "naga-ir"] }
|
|
winit = "0.30.13"
|
|
zip = { version = "9.1.3", default-features = false, features = ["deflate"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
rustix = { version = "1", default-features = false, features = ["std", "time"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
wgpu = { version = "30.0.1", default-features = false, features = ["dx12"] }
|
|
|
|
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
|
wgpu = { version = "30.0.1", default-features = false, features = ["gles"] }
|
|
|
|
[features]
|
|
# Sound output: horizon-client's `audio` feature.
|
|
audio = ["dep:cpal"]
|
|
# Helpers horizon-client's tests build their fixtures with.
|
|
test-support = []
|
|
|
|
[build-dependencies]
|
|
horizon-mod-api-gen = { path = "../horizon-mod-api-gen" }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dev-dependencies]
|
|
horizon-items = { path = "../horizon-items", features = ["test-support"] }
|
|
naga = { version = "30.0.1", features = ["wgsl-in", "hlsl-out", "glsl-out", "msl-out", "spv-out"] }
|