-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add things that need to be done to Cargo.tom
- Loading branch information
Showing
1 changed file
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,23 +5,23 @@ authors = ["Emil Ernerfeldt <[email protected]>"] | |
edition = "2021" | ||
rust-version = "1.72" | ||
|
||
# TODO 3: Upgrade egui | ||
# TODO 3: Confirm all dependencies are needed | ||
|
||
[dependencies] | ||
egui = "0.25.0" | ||
eframe = { version = "0.25.0", default-features = false, features = [ | ||
"accesskit", # Make egui compatible 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. | ||
eframe = { version = "0.25.0", default-features = false, features = ["accesskit", # Make egui compatible 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. | ||
] } | ||
egui = "0.25.0" | ||
log = "0.4" | ||
|
||
# You only need serde if you want app persistence: | ||
serde = { version = "1", features = ["derive"] } | ||
anyhow = "1.0.79" | ||
egui_extras = "0.25.0" | ||
futures = "0.3.30" | ||
anyhow = "1.0.79" | ||
rfd = { version = "0.13.0", features = ["tokio"] } | ||
serde = { version = "1", features = ["derive"] } | ||
serde_json = "1.0.113" | ||
|
||
# native: | ||
|
@@ -35,15 +35,13 @@ tokio = { version = "1.35.1", features = ["full"] } | |
poll-promise = { version = "0.3.0", features = ["web"] } | ||
wasm-bindgen-futures = "0.4" | ||
|
||
|
||
[profile.release] | ||
opt-level = 2 # fast and small wasm | ||
|
||
# Optimize all dependencies even in debug builds: | ||
[profile.dev.package."*"] | ||
opt-level = 2 | ||
|
||
|
||
[patch.crates-io] | ||
|
||
[dev-dependencies] | ||
|