1 | # Copyright © SixtyFPS GmbH <info@slint.dev> |
2 | # SPDX-License-Identifier: MIT |
3 | |
4 | [package] |
5 | name = "todo" |
6 | version = "1.5.1" |
7 | authors = ["Slint Developers <info@slint.dev>" ] |
8 | edition = "2021" |
9 | build = "build.rs" |
10 | publish = false |
11 | license = "MIT" |
12 | |
13 | [lib] |
14 | crate-type = ["lib" , "cdylib" ] |
15 | path = "lib.rs" |
16 | name = "todo_lib" |
17 | |
18 | [[bin]] |
19 | path = "main.rs" |
20 | name = "todo" |
21 | |
22 | [dependencies] |
23 | slint = { path = "../../../api/rs/slint" , features = ["serde" , "backend-android-activity-05" ] } |
24 | serde = { version = "1.0" , features = ["derive" ] } |
25 | serde_json = "1.0" |
26 | |
27 | [target.'cfg(target_arch = "wasm32")'.dependencies] |
28 | wasm-bindgen = { version = "0.2" } |
29 | console_error_panic_hook = "0.1.5" |
30 | |
31 | [build-dependencies] |
32 | slint-build = { path = "../../../api/rs/build" } |
33 | |
34 | |
35 | |