generated from emilk/eframe_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
69 lines (56 loc) · 2.09 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
[package]
name = "easyeda_to_kicad_lib_ui"
version = "1.3.5"
authors = ["Markus Krause <[email protected]>"]
edition = "2021"
rust-version = "1.82"
[dependencies]
egui = "0.30.0"
eframe = { version = "0.30.0", default-features = false, features = [
"accesskit", # Make egui comptaible with screen readers. NOTE: adds a lot of dependencies.
"default_fonts", # Embed the default egui fonts.
"glow", # Use the glow rendering backend. Alternative: "wgpu".
"persistence", # Enable restoring app state when restarting the app.
"x11", # for Linux
"wayland", # for Linux
] }
egui-dropdown = "0.12.0"
image = { version = "0.25.5", features = ["jpeg", "png"] }
egui_extras = { version = "0.30.0", features = ["all_loaders"] }
log = "0.4.22"
reqwest = { version = "0.12.11", features = ["blocking"] }
urlencoding = "2.1.3"
subprocess = "0.2.9"
serde_json = "1.0.134"
regex = "1.11.1"
indexmap = "2.7.0"
downloader = "0.2.8"
tempfile = "3.14.0"
glob = "0.3.2"
arboard = "3.4.1"
# You only need serde if you want app persistence:
serde = { version = "1.0.217", features = ["derive"] }
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
env_logger = "0.11.6"
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4.49"
# [profile.release]
# opt-level = 2 # fast and small wasm
[profile.release]
opt-level = 3 # Optimize for speed without exploding size
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*
# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2
[patch.crates-io]
# If you want to use the bleeding edge version of egui and eframe:
# egui = { git = "https://github.com/emilk/egui", branch = "master" }
# eframe = { git = "https://github.com/emilk/egui", branch = "master" }
# If you fork https://github.com/emilk/egui you can test with:
# egui = { path = "../egui/crates/egui" }
# eframe = { path = "../egui/crates/eframe" }