fcbbff26a7
The mark is an H whose crossbar is the horizon: a violet line edge to edge, the stems above it and their reflection below at a third, on whole units of a 16-unit grid so it stays sharp at 16 px. docs/media/brand holds the SVG masters (square icon, macOS tile, avatars, the mark for light and dark backgrounds), the two alternatives that were shown with it, the GitHub social preview and the Discord banner, and a README of what goes where and how to upload what only Ludovic's accounts can. `cargo run -p xtask -- icons` renders the masters (rsvg-convert) and packs, in plain Rust: packaging/icons/horizon.ico and horizon.icns, Linux's hicolor icons 16–512 and the scalable SVG, the game's run-time window icon, the avatars and the website's favicons. packaging/linux has .desktop entries for the launcher and the game. On Windows, build.rs embeds the .ico as icon resource 1 in horizon-client (and its tools) and horizon-launcher (winresource, a Windows-only build dependency); gpui loads that resource as the launcher's window icon. The game window sets the icon itself (X11, Windows) and names itself `horizon` on Wayland so the desktop entry matches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51 lines
1.8 KiB
TOML
51 lines
1.8 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" }
|
|
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"
|
|
serde_json = { version = "1.0.151", features = ["raw_value"] }
|
|
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 = ["rust_backend"] }
|
|
horizon-theme = { path = "../horizon-theme" }
|
|
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"
|
|
# 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
|
|
|
|
[dev-dependencies]
|
|
# Parses and validates the composed entity shader (already built for wgpu).
|
|
naga = { version = "30.0.1", features = ["wgsl-in"] }
|