forked from slint-ui/slint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
35 lines (28 loc) · 1.05 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright © SixtyFPS GmbH <[email protected]>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
[package]
name = "slide_puzzle"
version = "1.0.3"
authors = ["Slint Developers <[email protected]>"]
edition = "2021"
publish = false
license = "GPL-3.0-only OR LicenseRef-Slint-commercial"
[[bin]]
path = "main.rs"
name = "slide_puzzle"
[dependencies]
rand = "0.8"
slint = { path = "../../api/rs/slint" }
[build-dependencies]
slint-build = { path = "../../api/rs/build" }
# Remove the `#wasm#` to uncomment the wasm build.
# This is commented out by default because we don't want to build it as a library by default
# The CI has a script that does sed "s/#wasm# //" to generate the wasm build.
#wasm# [lib]
#wasm# path = "main.rs"
#wasm# crate-type = ["cdylib"]
#wasm# [target.'cfg(target_arch = "wasm32")'.dependencies]
#wasm# wasm-bindgen = { version = "0.2" }
#wasm# web-sys = { version = "0.3", features=["console", "Element", "HtmlCollection"] }
#wasm# console_error_panic_hook = "0.1.5"
#wasm# getrandom = { version = "0.2.2", features = ["js"] }