generated from emilk/eframe_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
69 lines (55 loc) · 2.13 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.1"
authors = ["Markus Krause <[email protected]>"]
edition = "2021"
rust-version = "1.72"
[dependencies]
egui = "0.26.2"
eframe = { version = "0.26.2", 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.
] }
# remove until PR merged egui-dropdown = "0.7.0"
egui-dropdown = { git = "https://github.com/markusdd/egui-dropdown.git", branch = "master" }
image = { version = "0.24.9", features = ["jpeg", "png"] }
egui_extras = { version = "0.26.2", features = ["all_loaders"] }
log = "0.4"
reqwest = { version = "0.11.25", features = ["blocking"] }
urlencoding = "2.1.3"
subprocess = "0.2.9"
serde_json = "1.0.114"
regex = "1.10.3"
indexmap = "2.2.5"
downloader = "0.2.7"
tempdir = "0.3.7"
glob = "0.3.1"
arboard = "3.3.2"
# You only need serde if you want app persistence:
serde = { version = "1", features = ["derive"] }
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
env_logger = "0.11.3"
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
# [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" }