1 | # Copyright © SixtyFPS GmbH <info@slint.dev> |
---|---|
2 | # SPDX-License-Identifier: MIT |
3 | |
4 | [package] |
5 | name = "printerdemo" |
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 | [[bin]] |
14 | path = "main.rs" |
15 | name = "printerdemo" |
16 | |
17 | [lib] |
18 | path = "lib.rs" |
19 | crate-type = ["lib", "cdylib"] |
20 | name = "printerdemo_lib" |
21 | |
22 | [dependencies] |
23 | slint = { path = "../../../api/rs/slint", features = [ "backend-android-activity-05"] } |
24 | chrono = { version = "0.4", default-features = false, features = [ "clock", "std"]} |
25 | |
26 | [build-dependencies] |
27 | slint-build = { path = "../../../api/rs/build"} |
28 | |
29 | [target.'cfg(target_arch = "wasm32")'.dependencies] |
30 | wasm-bindgen = { version = "0.2"} |
31 | web-sys = { version = "0.3", features=[ "console"] } |
32 | console_error_panic_hook = "0.1.5" |
33 | |
34 | |
35 | |
36 | |
37 | |
38 |