makepad/apps/calculator/Cargo.toml

35 lines
1.2 KiB
TOML

# 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-calculator"
version = "0.1.0"
edition = "2021"
default-run = "calculator"
[lib]
name = "makepad_calculator"
path = "src/lib.rs"
[[bin]]
name = "calculator"
path = "src/main.rs"
required-features = ["standalone"]
[features]
# On-demand dylib for the Android super-app (apps/wm-dyn). No engine dep
# here: the host that builds the lib binds it to its engine dylib itself
# (apps/wm/src/dylib_host.rs), so this crate's manifest is the desktop's.
dynamic-module = []
default = ["standalone"]
# 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-wm-theme = { path = "../../libs/wm_theme" }
makepad-ai-services = { path = "../../libs/ai/services" }
makepad-app-module = { path = "../../libs/app_module" }
makepad-strict-json = { path = "../../libs/strict_json" }