makepad/Cargo.toml
Admin f35acc03e8 Fix HEAD: skin_to_packed call site + track tools/arcade_eval
Two ways HEAD failed to build for a fresh checkout, both from work landing
across concurrent streams:

- 623ee745e renamed skin_to_pbr -> skin_to_packed, but arcade_view.rs was
  being edited by another stream at the time, so its call site fix stayed
  uncommitted while the rename landed
- Cargo.toml listed tools/arcade_eval as a workspace member while the crate
  itself was untracked, so loading the workspace failed outright

Both verified: the crate builds, and a stash-everything check now leaves a
working tree that compiles.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-03 09:20:47 +02:00

224 lines
5.6 KiB
TOML

workspace.members = [
# === app ===
"apps/route",
# === arcade (game.md) ===
"apps/arcade",
"libs/game/math",
"libs/game/render",
"libs/game/sim",
"libs/game/blocks",
"libs/game/gen",
"libs/game/audio",
"libs/game/script",
"libs/game/net",
"libs/game/coedit",
"libs/game/pkg",
"libs/game/session",
"libs/game/assets",
# === examples ===
"examples/hotload_ui",
"examples/teamtalk",
"examples/automate",
"examples/map",
"examples/arracing",
"examples/splash",
"examples/slides",
"examples/isolate",
"examples/uizoo",
"examples/video_player",
"examples/charts",
"examples/scratchpad",
"examples/ddgo",
"examples/todo",
"examples/git",
"examples/vector",
"examples/comfyui",
"examples/aichat",
"examples/godot",
"examples/gamemaker",
"examples/pdf",
"examples/exf",
"examples/shader",
"examples/text_input",
"examples/text_selection",
"examples/counter",
"examples/browser",
"examples/camera",
"examples/windows_blur",
"examples/floating_panel",
"examples/glass",
"examples/bugfix",
"examples/move_after_draw",
"examples/xr",
"examples/cad",
"examples/box3d",
"examples/hello_world",
# === xr app ===
"xr",
# === studio ===
"studio/hub",
"studio/desktop",
# === necessary tools ===
"tools/cargo_makepad",
"tools/map_tiles",
"tools/map_bake",
"tools/remote",
"tools/arcade_eval",
# === tests ===
"platform/script/test",
]
workspace.exclude = [
"libs/terminal_core",
"libs/ggml",
"libs/voice",
"libs/voice2",
"libs/tts",
"widgets/test",
"libs/stitch",
"libs/wasm_bridge/test",
"libs/csg/csg",
"libs/csg/csg_boolean",
"libs/csg/csg_exact",
"libs/csg/csg_primitives",
# vendored third-party libs (tests require external dev-deps)
"libs/ab_glyph_rasterizer",
"libs/i_float",
"libs/i_key_sort",
"libs/i_overlay",
"libs/i_shape",
"libs/i_tree",
"libs/adler2",
"libs/bitflags",
"libs/bytemuck",
"libs/byteorder",
"libs/cfg-if",
"libs/crc32fast",
"libs/flate2",
"libs/fxhash",
"libs/jpeg-encoder",
"libs/memchr",
"libs/pulldown-cmark",
"libs/rustybuzz",
"libs/sdfer",
"libs/simd-adler32",
"libs/smallvec",
"libs/ttf-parser",
"libs/unicase",
"libs/unicode/unicode-bidi",
"libs/unicode/unicode-bidi-mirroring",
"libs/unicode/unicode-ccc",
"libs/unicode/unicode-linebreak",
"libs/unicode/unicode-properties",
"libs/unicode/unicode-script",
"libs/unicode/unicode-segmentation",
# vendored image libs (doctests reference original crate names)
"libs/byteorder-lite",
"libs/webp",
"libs/zune/zune-bmp",
"libs/zune/zune-core",
"libs/zune/zune-inflate",
"libs/zune/zune-jpeg",
"libs/zune/zune-png",
"libs/zune/zune-qoi",
# vendored Vulkan crates (patched crates.io crates; tests/benches pull
# upstream-only dev-deps or missing packaged assets)
"libs/vulkan/arrayvec",
"libs/vulkan/ash",
"libs/vulkan/bit-set",
"libs/vulkan/bit-vec",
"libs/vulkan/bitflags",
"libs/vulkan/cfg-if",
"libs/vulkan/cfg_aliases",
"libs/vulkan/crunchy",
"libs/vulkan/equivalent",
"libs/vulkan/foldhash",
"libs/vulkan/half",
"libs/vulkan/hashbrown",
"libs/vulkan/hexf-parse",
"libs/vulkan/indexmap",
"libs/vulkan/libloading",
"libs/vulkan/log",
"libs/vulkan/makepad-half",
"libs/vulkan/naga",
"libs/vulkan/num-traits",
"libs/vulkan/once_cell",
"libs/vulkan/rustc-hash",
"libs/vulkan/spirv",
"libs/vulkan/thiserror",
"libs/vulkan/thiserror-impl",
"libs/vulkan/unicode-ident",
"libs/vulkan/zerocopy",
"libs/rapier",
# platform-specific libs
"libs/windows/windows-collections",
"libs/windows/windows-core",
"libs/windows/windows-future",
"libs/windows/windows-link",
"libs/windows/windows-result",
"libs/windows/windows-rs",
"libs/windows/windows-strings",
"libs/linux/wayland-backend",
"libs/linux/wayland-client",
"libs/linux/wayland-egl",
"libs/linux/wayland-protocols",
"libs/linux/wayland-sys",
"tools/windows_strip",
"tools/web_server",
"tools/file_router",
"tools/wasm_strip",
]
workspace.resolver = "2"
#debug = true
[patch.crates-io]
bitflags = { path = "libs/bitflags" }
smallvec = { path = "libs/smallvec" }
windows-link = { path = "libs/windows/windows-link" }
[profile.small]
inherits = "release"
#debug = true
opt-level = 'z' # Optimize for size
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic
strip = true
[profile.profile]
inherits = "release"
debug = true
#[profile.dev.package.makepad-live-tokenizer]
#opt-level = 3
#[profile.dev.package.makepad-live-compiler]
#opt-level = 3
#[profile.dev.package.makepad-shader-compiler]
#opt-level = 3
#[profile.dev.package.makepad-platform]
#opt-level = 3
#[profile.dev.package.makepad-draw]
#opt-level = 3
#[profile.dev.package.makepad-vector]
#opt-level = 3
#[profile.dev.package.rustybuzz]
#opt-level = 3
#[profile.dev.package.bitflags]
#opt-level = 3
#[profile.dev.package.bytemuck]
#opt-level = 3
#[profile.dev.package.smallvec]
#opt-level = 3
#[profile.dev.package.unicode-bidi-mirroring]
#opt-level = 3
#[profile.dev.package.unicode-ccc]
#opt-level = 3
#[profile.dev.package.unicode-properties]
#opt-level = 3
#[profile.dev.package.unicode-script]
#opt-level = 3
#[profile.dev.package.unicode-bidi]
#opt-level = 3
#[profile.dev.package.ttf-parser]
#opt-level = 3