mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 15:47:26 +00:00
35 lines
958 B
TOML
35 lines
958 B
TOML
# Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
[package]
|
|
name = "printerdemo"
|
|
version = "1.13.0"
|
|
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-06"] }
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
|
|
|
|
[target.'cfg(not(any(target_os = "android", target_arch = "wasm32")))'.dependencies]
|
|
slint = { path = "../../../api/rs/slint", features = ["gettext"] }
|
|
|
|
[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"
|