eec2e87a15
Conflicts kept both sides: the capability list (now 7), the WIT, the SDK's re-exports and docs, the mods state's fields, the workspace members and AGENTS.md's macOS --exclude list. The API reference is regenerated, and docs/api/stability.md lists `command` with the 0.1 preview interfaces. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
2.1 KiB
TOML
42 lines
2.1 KiB
TOML
[workspace]
|
|
exclude = ["launcher", "crates/horizon-telemetry-server", "crates/horizon-mod-registry", "third_party/wgpu-hal"]
|
|
members = ["crates/horizon-core", "crates/horizon-dualsense", "crates/horizon-threads", "crates/horizon-world", "crates/horizon-client", "crates/horizon-server-files", "crates/horizon-server", "crates/horizon-bots", "crates/horizon-assets", "crates/horizon-protocol", "crates/horizon-theme", "crates/horizon-prepare", "crates/horizon-telemetry", "crates/horizon-bench", "crates/horizon-friends", "crates/horizon-relay", "crates/horizon-mod-sdk", "crates/horizon-mods", "crates/horizon-mods/tests/guest", "crates/horizon-mods/tests/ui_guest", "crates/cargo-horizon-mod", "crates/horizon-port-pack", "crates/horizon-shaders", "crates/horizon-shader-api", "crates/horizon-release-sign", "crates/horizon-mod-sdk/examples/coords-hud", "crates/horizon-mod-sdk/examples/predator-missile", "xtask"]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
edition = "2024"
|
|
license = "MIT"
|
|
rust-version = "1.85"
|
|
|
|
# Ports mirror vanilla's Java signatures, index loops and nested generic types
|
|
# one to one so they can be checked against the decompiled sources.
|
|
[workspace.lints.clippy]
|
|
too_many_arguments = "allow"
|
|
type_complexity = "allow"
|
|
needless_range_loop = "allow"
|
|
large_enum_variant = "allow"
|
|
|
|
# wgpu-hal 30.0.1 with gfx-rs/wgpu#10124: wgpu 30 creates a Vulkan descriptor
|
|
# pool with no pool sizes while it creates the device, which Vulkan allows only
|
|
# since 1.3.215, and Intel's Windows driver for 6th-10th gen iGPUs (HD 520/530,
|
|
# UHD 620/630) crashes on it with an access violation (#746). Drop this and the
|
|
# folder once a wgpu release has the fix.
|
|
[patch.crates-io]
|
|
wgpu-hal = { path = "third_party/wgpu-hal" }
|
|
|
|
# Line tables keep file:line in backtraces; full debug info made every
|
|
# example and test binary hundreds of megabytes and slow to link.
|
|
[profile.dev]
|
|
debug = "line-tables-only"
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
|
|
# Optimized but quick-to-link builds for iteration: cargo build --profile fast
|
|
[profile.fast]
|
|
inherits = "release"
|
|
lto = false
|
|
codegen-units = 16
|
|
incremental = true
|