1# Copyright © SixtyFPS GmbH <info@slint.dev>
2# SPDX-License-Identifier: MIT
3
4[package]
5name = "gallery"
6version = "1.11.0"
7authors = ["Slint Developers <info@slint.dev>"]
8edition = "2021"
9build = "build.rs"
10license = "MIT"
11publish = false
12description = "Slint Widgets Gallery Example"
13
14[[bin]]
15path = "main.rs"
16name = "gallery"
17
18[dependencies]
19slint = { path = "../../api/rs/slint", features = ["gettext"] }
20
21[build-dependencies]
22slint-build = { path = "../../api/rs/build" }
23
24# Remove the `#wasm#` to uncomment the wasm build.
25# This is commented out by default because we don't want to build it as a library by default
26# The CI has a script that does sed "s/#wasm# //" to generate the wasm build.
27
28#wasm# [lib]
29#wasm# crate-type = ["cdylib"]
30#wasm# path = "main.rs"
31#wasm#
32#wasm# [target.'cfg(target_arch = "wasm32")'.dependencies]
33#wasm# wasm-bindgen = { version = "0.2" }
34#wasm# web-sys = { version = "0.3", features=["console"] }
35#wasm# console_error_panic_hook = "0.1.5"
36
37[package.metadata.bundle]
38identifier = "com.slint.examples.gallery"
39