-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (37 loc) · 844 Bytes
/
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
[package]
name = "exify"
version = "0.1.0"
edition = "2021"
[dependencies]
base64 = "0.22.1"
gloo = "0.11"
img-parts = "0.3.0"
js-sys = "0.3.70"
kamadak-exif = "0.5.5"
thiserror = "1.0.63"
wasm-bindgen = "= 0.2.93"
yew = { version = "0.21", features = ["csr"] }
[dependencies.web-sys]
version = "^0.3.70"
features = [
"Blob",
"BlobPropertyBag",
"DragEvent",
"DataTransfer",
"File",
"HtmlAnchorElement",
"Url"
]
# Yew -> Optimizations
# https://yew.rs/docs/advanced-topics/optimizations#cargotoml
[profile.release]
# less code to include into binary
panic = 'abort'
# optimization over all codebase ( better optimization, slower build )
codegen-units = 1
# optimization for size ( more aggressive )
opt-level = 'z'
# optimization for size
# opt-level = 's'
# link time optimization using using whole-program analysis
lto = true