-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
37 lines (31 loc) · 854 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
[package]
name = "webapp"
version = "0.6.67" #syncwebui
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
webui = { git = "https://github.com/StoicDreams/RustWebUI", branch = "main", features = [
"all",
"stoic",
] }
yew = "0.20"
serde = { version = "1.0", features = ["derive"] }
[profile.dev]
opt-level = "s"
lto = true
incremental = true
[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'
# link time optimization using using whole-program analysis
lto = true
[profile.dev.build-override]
opt-level = "s"
codegen-units = 16
[profile.release.build-override]
opt-level = "s"
codegen-units = 16