-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
32 lines (25 loc) · 811 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
[package]
name = "frontend"
version = "0.0.0"
edition = "2021"
rust-version = "1.73"
[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".
] }
log = "0.4"
serde = { version = "1", features = ["derive"] }
wasm-bindgen-futures = "0.4"
wasm-bindgen = { version = "0.2.91", features = ["serde-serialize"] }
serde-wasm-bindgen = "0.6.3"
hframe = "0.4.1"
[profile.release]
opt-level = 2 # fast and small wasm
# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2
[workspace]
members = ["src-tauri"]