slint/demos/home-automation/rust/Cargo.toml
2025-06-26 13:30:43 +00:00

28 lines
614 B
TOML

# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: MIT
[package]
name = "home-automation"
version = "1.13.0"
authors = ["Slint Developers <info@slint.dev>"]
edition = "2021"
publish = false
license = "MIT"
[[bin]]
path = "main.rs"
name = "home-automation"
[lib]
crate-type = ["lib", "cdylib"]
path = "lib.rs"
name = "home_automation_lib"
[dependencies]
slint = { path = "../../../api/rs/slint" }
chrono = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { version = "0.2" }
web-sys = { version = "0.3", features = ["console"] }
console_error_panic_hook = "0.1.5"