# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: MIT

[package]
name = "printerdemo"
version = "1.5.1"
authors = ["Slint Developers <info@slint.dev>"]
edition = "2021"
build = "build.rs"
publish = false
license = "MIT"

[[bin]]
path = "main.rs"
name = "printerdemo"

[lib]
path = "lib.rs"
crate-type = ["lib", "cdylib"]
name = "printerdemo_lib"

[dependencies]
slint = { path = "../../../api/rs/slint", features = ["backend-android-activity-05"] }
chrono = { version = "0.4", default-features = false, features = ["clock", "std"]}

[build-dependencies]
slint-build = { path = "../../../api/rs/build" }

[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"





