makepad/apps/image/Cargo.toml
Admin 922a61736d apps: Code, Translator, Weather, Amp and the rest
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>
2026-10-13 12:26:21 +02:00

33 lines
1.2 KiB
TOML

# image — a dumb picture viewer, part of the Makepad app family (terminal,
# wm, files, task, sheets, route, mixer...).
#
# Opens one image fit-to-window, centered on a system theme background.
# Left/Right walks the sorted sibling images in the same folder, +/-/wheel
# zoom around the cursor, 0 fits, 1 shows 100%, drag pans when zoomed,
# Escape/Q/Space quits. `--preview <path>` sizes the window as a popup.
[package]
name = "makepad-app-image"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
default-run = "makepad-app-image"
[lib]
name = "makepad_app_image"
path = "src/lib.rs"
[[bin]]
name = "makepad-app-image"
path = "src/main.rs"
[features]
default = ["tweaker"]
# 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"]
[dependencies]
makepad-widgets = { path = "../../widgets", default-features = false }
makepad-widgets-tweaker = { path = "../../widgets/families/tweaker", optional = true }
makepad-wm-api = { path = "../../libs/wm_api" }