makepad/Cargo.toml
Admin 46cd1735d0 chore: workspace members and remaining sources
Squashed from work:
- frametween: the VJ's in-betweener becomes a library — the whole mode set, one definition
- rtsmap: one seeded generator for tiled strategy maps
- workspace: register the score crates, archive_org and mp4_index
- map: bake a runnable Amsterdam test map from inside the route app
- platform: file dialogs on Android and iOS, and unbreak the Android build
- ai-hub: makepad-asset-ai becomes makepad-ai-hub at libs/ai/hub, the chat pane becomes makepad-chat-ui, the service bin
- strict-json: the dependency-free JSON module gets its own crate; asset-client re-exports it so nothing downstream move
- asset-creator: the pipeline library is born — specs, the deps gate, and the derived-state law (aicore §9)
- makepad_ai is deleted — every backend is a hub pipe, the agent seam lives with its consumers (aicore §14, decided 2026
2026-09-01 16:46:35 +02:00

302 lines
8.4 KiB
TOML

workspace.members = [
# === app ===
"apps/mpbrowser",
"apps/mpterm",
"apps/mpwm",
"apps/finance",
"apps/mpsheets",
"libs/mp_theme",
"libs/mp_wm_api",
"apps/mptask",
"apps/mpimage",
"apps/mpvideo",
"apps/mppdf",
"apps/mpfiles",
"apps/route",
"apps/asset-ui",
"apps/asset-server",
"apps/ai-hub",
"apps/vj",
"apps/mixer",
"libs/asset/importer",
# The tiled-RTS map generator, shared by the importer and the sandbox.
"libs/rtsmap",
"libs/texcomp",
"libs/asset/data",
"libs/asset/client",
"libs/asset/widgets",
"libs/asset/store",
"libs/asset/chat",
"libs/chat_ui",
"libs/asset/annotate",
"libs/render",
"libs/raytrace",
"libs/fab",
"libs/fab_tour",
"apps/fab/loaders/gltf",
"libs/sim",
"libs/sim/math",
"libs/show_control",
"libs/asset/creator",
"libs/strict_json",
# === remesh (FaithC port) / xatlas (jpcy port) ===
"libs/remesh",
"libs/xatlas",
# === examples ===
"examples/teamtalk",
"examples/automate",
"examples/map",
"examples/splash",
"examples/slides",
"examples/isolate",
"examples/uizoo",
"examples/video_player",
"examples/video_codec_test",
"examples/charts",
"examples/datagrid",
"examples/todo",
"examples/portallist_hit",
"examples/modal_footprint",
"examples/vector",
"examples/aichat",
"examples/pdf",
"examples/shader",
"examples/raytrace",
"examples/text_input",
"examples/text_atlas_stress",
"examples/text_selection",
"examples/text_center",
"examples/counter",
"examples/browser",
"examples/camera",
"examples/windows_blur",
"examples/floating_panel",
"examples/glass",
"examples/bugfix",
"examples/move_after_draw",
"examples/xr",
"examples/splat_bench",
"examples/cad",
"examples/box3d",
"examples/hello_world",
"examples/render_to_texture",
# === digital-fabrication product ===
"apps/fab",
# === xr app ===
"xr",
# === studio ===
"studio/hub",
"studio/desktop",
# === own SQLite-format database engine (P0 reader, sqlq CLI) ===
"libs/sqlite_query",
# === headless music score engine ===
"libs/score",
"libs/score_layout",
"libs/score_play",
"libs/score_render",
"libs/score_ai",
"libs/score_import",
"libs/score_pdf",
"libs/score_ui",
"apps/score",
"libs/midi_file",
"libs/soundfont",
"libs/piano_model",
"libs/musicxml",
# === own MP3 / Ogg Vorbis decoders ===
"libs/audio_decode",
# === own Ogg Vorbis encoder (stem side-channels) ===
"libs/audio_encode",
# === shared karaoke alignment core + lyrics schema ===
"libs/audio_lyrics",
# === stems + lyrics side-channel bake/publish (asset-ui + VJ) ===
"libs/audio_sidechannels",
"libs/teamtalk",
# === pictures of audio (spectrogram, wave strip, composite) ===
"libs/audio_picture",
# === mkfl motion payload + classical optical flow + all-intra re-encode
# (shared by the enhance backend and the VJ's flow-warp import) ===
"libs/video_flow",
# === realtime frame tweening: the classical GPU optical-flow pass
# chain, the RIFE producer behind the same warp, and the mode set
# (extracted from the VJ, which is still its reference user) ===
"libs/frametween",
# === archive.org search + download content input (VJ / asset-ui) ===
"libs/archive_org",
# === mp4 sample index for range-streaming playback ===
"libs/mp4_index",
# === necessary tools ===
"platform/video",
"tools/cargo_makepad",
# === OSM PBF -> tile archive + nav artifact bake passes (CLI + in-app) ===
"libs/map_build",
"tools/map_tiles",
"tools/map_bake",
"tools/remote",
# === tests ===
"platform/script/test",
]
workspace.exclude = [
# Private Arcade frontend. Clone into apps/sandbox; path deps stay ../../
# like a subdirectory. Not a required member so a clean makepad tree
# still loads.
"apps/sandbox",
# Private Source Library picture wall. Same shape as sandbox: clone into
# apps/source-library; path deps stay ../../.
"apps/source-library",
"libs/terminal_core",
# standalone GPU generate service (own workspace, like diffusion)
"libs/ai/hub",
"libs/diffusion",
# the AI model workspace (loader + cuda/metal stores + model crates) — aiarch.md
"libs/ai",
"libs/voice",
"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