-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
50 lines (42 loc) · 1.17 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "rk_flash"
version = "1.6.0"
authors = ["Slint Developers <[email protected]>"]
edition = "2021"
build = "build.rs"
license = "MIT"
publish = false
description = "Testing GUI software"
[[bin]]
path = "src/main.rs"
name = "rk_flash"
[dependencies]
chrono = "0.4.0"
rand = "0.8"
slint = "1.7.1"
tokio = { version = "1.0", features = ["full"] }
libc = "0.2"
flate2 = "1.0.31"
tar = "0.4.39"
walkdir = "2.5.0"
zip="2.1.6"
regex="1.10.6"
log = "0.4.22"
env_logger = "0.11.5"
# Disable gettext on macOS due to https://github.com/Koka/gettext-rs/issues/114
[build-dependencies]
slint-build = "1.6"
chrono = "0.4.0"
# 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# crate-type = ["cdylib"]
#wasm# path = "main.rs"
#wasm#
#wasm# [target.'cfg(target_arch = "wasm32")'.dependencies]
#wasm# wasm-bindgen = { version = "0.2" }
#wasm# web-sys = { version = "0.3", features=["console"] }
#wasm# console_error_panic_hook = "0.1.5"
[package.metadata.bundle]
identifier = "com.slint.examples.gallery"