makepad/apps/fabric/Cargo.toml
Admin 82ac76882e photos: the picture wall as an app — the SMBC archive on the tile engine, a module from its first line; fabric in the launcher
apps/photos (lib + bin) puts libs/image_tiles' TileGrid in a tile: it
opens a baked library found by name (IMAGE_TILES_HOME, the cwd's
local/image-tiles, the checkout the binary was built in — the smbc
collection first), shows a status line with the bake command when
there is none, and exposes photos.search (every query word in a title
or link), photos.show (the camera glides onto one picture) and
photos.summary — the same answer for the port and for the module's
executor. PhotosModule mints the view inside an isolate with an open
schema that takes a collection name, never a path; the WM links it
behind app-photos and lists it in the menu. image_tiles learned to
decode GIF and WebP and to read a manifest's pictures from disk, so
the bake can take local/smbc's mirror: the last 300 comics are baked
under local/image-tiles/smbc (293; seven of the mirror's files are
saved error pages). fabric joins the launcher with a title and a
polite close.

Driven hidden: the wall in a process tile beside the left pane, panned
and zoomed; search and show cards; the same wall as an in-process
module; fabric launched and closed; standalone photos with the F10
overlay on the left. photos 7, image_tiles 5, wm 152; the photos lib
checks for wasm32.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-02 17:59:12 +02:00

18 lines
875 B
TOML

[package]
name = "makepad-fabric"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Fabric: a photo in, a fitted sewing pattern out — body model, measurements, draft, cut sheet"
[dependencies]
# The window manager's vocabulary: the bar's title and the polite close.
makepad-wm-api = { path = "../../libs/wm_api" }
makepad-widgets = { path = "../../widgets" }
makepad-fabric-measure = { path = "../../libs/fabric/measure" }
makepad-fabric-draft = { path = "../../libs/fabric/draft" }
# The body model runs in-process (Metal on the Mac, CUDA on a box); the
# hub does install, licence acknowledgement and weight location.
makepad-ai-body = { path = "../../libs/ai/models/body" }
makepad-ai-hub = { path = "../../libs/ai/hub", default-features = false, features = ["local", "body-native"] }
makepad-ai-hub-ui = { path = "../../libs/ai/hub_ui" }