# calculator — part of the Makepad app family: standalone window, and a module # (src/module.rs) the window manager seats in-process. Spec of record: # local/agent_state/wm-all/apps/calculator-spec.md; contract: .../CONTRACT.md. [package] name = "makepad-app-calculator" version = "0.1.0" edition = "2021" license = "MIT OR Apache-2.0" default-run = "makepad-app-calculator" [lib] name = "makepad_app_calculator" path = "src/lib.rs" [[bin]] name = "makepad-app-calculator" path = "src/main.rs" required-features = ["standalone"] [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"] # The standalone window (src/main.rs); a host that links the module leaves it off. standalone = [] [dependencies] makepad-widgets = { path = "../../widgets", default-features = false, features = ["glass"] } makepad-widgets-tweaker = { path = "../../widgets/families/tweaker", optional = true } makepad-ai-services = { path = "../../libs/ai/services" } makepad-app-module = { path = "../../libs/app_module" } makepad-strict-json = { path = "../../libs/strict_json" } [dev-dependencies] makepad-script-test = { path = "../../platform/script/test" }