-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (40 loc) · 1.08 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
[package]
name = "ideal-wages-calculator"
version = "0.1.1"
edition = "2021"
description = "A webassembly project using trunk and yew to point out injustices in range of wages"
readme = "README.md"
repository = "https://github.com/ad2ien/ideal-wages-calculator"
license = "MIT"
keywords = ["yew", "trunk", "social justice"]
categories = ["gui", "wasm", "web-programming"]
[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
[dependencies]
wasm-bindgen = "0.2"
log = "0.4.6"
wasm-logger = "0.2.0"
yew = { version="0.20", features=["csr"] }
gloo-net = "0.2"
serde = { version = "1.0", features = ["derive"] }
wasm-bindgen-futures = "0.4"
[dependencies.web-sys]
version = "0.3"
features = [
"console",
"Document",
"HtmlElement",
"DomRect",
"EventTarget",
"HtmlInputElement",
"HtmlSelectElement"
]