generated from emilk/eframe_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
60 lines (48 loc) · 1.53 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
[package]
name = "doukutsu-save-editor"
version = "0.1.12"
authors = ["poly000 <[email protected]>"]
edition = "2021"
rust-version = "1.65"
license = "MIT"
[dependencies]
egui = { version = "0.29.1" }
cavestory-save-lib = "2.9.2"
rfd = "0.15.1"
tracing-subscriber = "0.3"
tokio = { version = "1.41.1", features = ["rt-multi-thread", "time"] }
tap = "1.0.1"
winit = "0.30.5"
[target.'cfg(unix)'.dependencies]
eframe = { version = "0.29.1", features = [
"glow", # Use the glow rendering backend. Alternative: "wgpu".
"x11",
"wayland",
], default-features = false }
[target.'cfg(not(unix))'.dependencies]
eframe = { version = "0.29.1", features = [
"glow", # Use the glow rendering backend. Alternative: "wgpu".
], default-features = false }
[features]
default = ["winit/default"]
# Embed the default egui fonts.
default_fonts = ["eframe/default_fonts"]
# Make egui comptaible with screen readers. NOTE: adds a lot of dependencies.
accesskit = ["eframe/accesskit"]
[profile.dev]
incremental = true
[profile.release]
lto = "thin"
panic = "abort"
strip = true
opt-level = "z"
# 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" }