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