-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (36 loc) · 1.03 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
[package]
name = "shin-hentai"
default-run = "shin_hentai_bin"
version = "0.1.2"
edition = "2021"
license = "MIT"
description = "a simple comic viewer"
repository = "https://github.com/fakeshadow/shin-hentai"
[[bin]]
name = "shin_hentai_bin"
path = "src/main.rs"
[features]
wayland = ["eframe/wayland"]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
eframe = { version = "0.29", default-features = false, features = ["default_fonts", "glow"] }
image = { version = "0.25" }
rfd = { version = "0.15" }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
zip = { version = "=2.1.3" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
log = "0.4"
wasm-bindgen-futures = "0.4.34"
web-sys = "0.3.70"
zip = { version = "=2.1.3", default-features = false, features = ["deflate"] }
[build-dependencies]
resvg = { version = "0.37.0", default-features = false }
tiny-skia = { version = "0.11" }
usvg = { version = "0.37.0", default-features = false }
[profile.release]
lto = "thin"
opt-level = "z"
codegen-units = 1
panic = "abort"
strip = true