Makepad Code (editor layout, selection, sidebar, early yield), the EN/ZH Translator with voice, Weather with a generated offline forecast, Amp playing its offline library, and fixes across the other apps and examples. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
48 lines
2 KiB
TOML
48 lines
2 KiB
TOML
# files — the file browser of the Makepad desktop: standalone window, and a
|
|
# module (src/module.rs) the window manager seats in-process.
|
|
|
|
[package]
|
|
name = "makepad-app-files"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
default-run = "makepad-app-files"
|
|
|
|
[[bin]]
|
|
name = "makepad-app-files"
|
|
path = "src/main.rs"
|
|
required-features = ["standalone"]
|
|
|
|
[lib]
|
|
name = "makepad_app_files"
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
default = ["tweaker", "standalone"]
|
|
# The design overlay (Shift+F10 with the dev overlays on). On for development
|
|
# builds; the Builder's releases build without it (--no-default-features).
|
|
tweaker = ["dep:makepad-widgets-tweaker", "makepad-widgets/data", "makepad-widgets/dock", "makepad-widgets/fab"]
|
|
demo = []
|
|
# The standalone window and the local model. A host that links the MODULE
|
|
# (makepad-app-wm) leaves this off and gets the lib only.
|
|
standalone = ["localai"]
|
|
# The ask panel runs the machine's own model (Qwen on the local runtime):
|
|
# files is one of the apps whose code needs it, so the window has it on.
|
|
localai = ["chat"]
|
|
chat = ["dep:makepad-ai-hub"]
|
|
|
|
[dependencies]
|
|
makepad-widgets = { path = "../../widgets", default-features = false, features = ["data"] }
|
|
makepad-widgets-tweaker = { path = "../../widgets/families/tweaker", optional = true }
|
|
makepad-diskmap = { path = "../../libs/diskmap" }
|
|
makepad-wm-api = { path = "../../libs/wm_api" }
|
|
# The AI services wire: bounded read and confirmed mutation tools on the bus
|
|
# (hosted port, id-correlated runner — see ai_service.rs).
|
|
makepad-ai-services = { path = "../../libs/ai/services" }
|
|
makepad-strict-json = { path = "../../libs/strict_json" }
|
|
# The module contract: what the window manager seats in-process (src/module.rs).
|
|
makepad-app-module = { path = "../../libs/app_module" }
|
|
# The ask panel's local model: an in-process Qwen GGUF on makepad-ggml, loaded
|
|
# only when the panel is first opened. Standalone only — a host that links the
|
|
# MODULE leaves this off.
|
|
makepad-ai-hub = { path = "../../libs/ai/hub", default-features = false, features = ["localai"], optional = true }
|