-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
68 lines (64 loc) · 1.56 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
[package]
edition = "2021"
name = "copy_clip_ui"
version = "0.3.9"
license = "MIT"
rust-version = "1.78"
[package.metadata.i18n]
load-path = "locales"
default-language = "en-GB"
available-locales = ["en-GB", "zh-CN", "en", "de"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rust-i18n = "3.1"
chrono = "0.4"
js-sys = "0.3"
regex = "1.10"
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = "0.6"
sublime_fuzzy = "0.7"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
once_cell = "1.19"
web-sys = { version = "0.3", features = [
"Document",
"Element",
"HtmlElement",
"Node",
"Window",
"MediaQueryList",
"DomTokenList",
] }
yew = { version = "0.21", features = ["csr"] }
yewdux = "0.10"
yew-router = "0.18"
yew_icons = { version = "0.8", features = [
"HeroiconsOutlineClipboardDocumentList",
"BootstrapTrash",
"LucideTimer",
"BootstrapHeartHalf",
"BootstrapHeartFill",
"BootstrapHeart",
"BootstrapPinAngle",
"BootstrapPinAngleFill"
] }
# for logging
tauri-plugin-logging = {path = "./tauri-plugin-logging", features = ["api"]}
clip = {path = "./src-clip", features = ["yew"]}
[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 whole-program analysis
lto = true
[workspace]
members = [
"src-tauri",
"src-clip",
"tauri-plugin-logging"
]