-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
40 lines (32 loc) · 955 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "home-automation"
version = "1.0.0"
authors = ["FELGO GmbH <contact@felgo.com>"]
edition = "2021"
build = "slint-build.rs"
[dependencies]
chrono = "0.4.38"
slint = { version = "1.7", features = ["backend-android-activity-06"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.7"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
[build-dependencies]
slint-build = "1.7"
# Android-activity / wasm support
[lib]
name = "home_automation_lib"
crate-type = ["cdylib"]
path = "src/lib.rs"
# Andoroid settings
# See more: https://github.com/rust-mobile/cargo-apk?tab=readme-ov-file#manifest
[package.metadata.android]
package = "com.felgo.demos.homeautomation"
resources = "android-res"
build_targets = [ "aarch64-linux-android" ]
[package.metadata.android.sdk]
min_sdk_version = 29
target_sdk_version = 32
[package.metadata.android.application]
label = "Home Automation"
icon = "@mipmap/ic_launcher"