-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
72 lines (59 loc) · 1.61 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "cofd-pc"
version = "1.0.0"
authors = ["m00n"]
edition = "2021"
license = "MPL"
publish = false
[profile.dev]
incremental = false
[profile.release]
lto = true
[profile.release-web]
inherits = "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'
[profile.coverage]
panic = "abort"
opt-level = 0
overflow-checks = false
incremental = false
codegen-units = 1
inherits = "test"
[dependencies]
iced = { version = "0.12", features = ["lazy", "advanced"] }
cofd = { git = "https://github.com/m00nwtchr/cofd.git" }
#cofd = { path = "../cofd/lib" }
#codex-scraper = { git = "https://github.com/m00nwtchr/cofd-miner.git" }
closure = "0.3"
once_cell = "1.4"
anyhow = "1"
log = "0.4"
ron = "0.9.0-alpha.0"
serde = "1"
i18n-embed = { version = "0.14", features = ["fluent-system"] }
i18n-embed-fl = "0.8"
rust-embed = "8"
unic-langid = { version = "0.9", features = ["macros"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
i18n-embed = { version = "0.14", features = ["desktop-requester"] }
env_logger = "0.11"
directories = "5"
[target.'cfg(target_arch = "wasm32")'.dependencies]
i18n-embed = { version = "0.14", features = ["web-sys-requester"] }
rust-embed = { version = "8", features = ["debug-embed"] }
console_log = "1"
console_error_panic_hook = "0.1"
getrandom = { version = "*", features = ["js"] }
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3.60"
features = [
'Window',
'Storage'
]