makepad/libs/ai/Cargo.toml
Kevin Boos 10b33c528e
libs/ai: exclude hub_ui and services from the AI workspace (#1242)
* Button: activate from the keyboard when focused

`Button` matched only `KeyFocus` and `KeyFocusLost`, so a button reached with
Tab could take focus and animate, but no key press ever activated it.

* `Space`, `Enter` and numpad enter now emit `Pressed` and then `Clicked`, and
  make the same `on_press`/`on_click` script calls a tap does.
* Key repeat is ignored, so holding the key down doesn't re-press.
* Both arms are gated on `enabled`, like the finger paths.

* libs/ai: exclude hub_ui and services from the AI workspace

`cargo install --git ... cargo-makepad` fails with "package
`libs/ai/services/Cargo.toml` is a member of the wrong workspace": the root
workspace lists `libs/ai/hub_ui` and `libs/ai/services` as members, but both
sit under `libs/ai`, which is its own workspace, and cargo gives a package to
the first workspace root above it that doesn't exclude it. `libs/ai/hub` and
`libs/ai/livepipe` were already fine since each declares its own `[workspace]`.
2026-09-19 01:04:19 +02:00

37 lines
922 B
TOML

# The AI model workspace: loader (disk), cuda/metal (kernel+residency
# stores), job (the one cross-model contract), llm + models/* (per-family
# model crates). Standalone workspace like libs/diffusion before it; the
# asset-ai service and root-workspace apps reach in via path deps.
# Plan of record: /aiarch.md
[workspace]
members = [
"loader",
"cuda",
"metal",
"job",
"llm",
"models/common",
"models/paint",
"models/h3",
"models/flux",
"models/vision",
"models/body",
"models/rig",
"models/motion",
"models/rife",
"models/sfx",
"models/music",
"models/speech",
"models/splat",
"models/stems",
"models/beats",
"models/notes",
"models/trellis",
]
# hub_ui and services sit in this directory but are members of the root
# workspace, so cargo has to be told they aren't ours.
exclude = [
"hub_ui",
"services",
]
resolver = "2"