1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Use more workspace dependencies (#7596)

This commit is contained in:
Emil Ernerfeldt
2025-10-07 15:07:16 +02:00
committed by GitHub
parent 7fc80d8623
commit 843ceea90c
36 changed files with 92 additions and 154 deletions

View File

@@ -47,10 +47,7 @@ wayland = ["eframe/wayland"]
x11 = ["eframe/x11"]
[dependencies]
chrono = { version = "0.4", default-features = false, features = [
"js-sys",
"wasmbind",
] }
chrono = { workspace = true, features = ["js-sys", "wasmbind"] }
eframe = { workspace = true, default-features = false, features = [
"web_screen_reader",
] }
@@ -80,8 +77,8 @@ wgpu = { workspace = true, features = [
# feature "http":
ehttp = { version = "0.5", optional = true }
poll-promise = { version = "0.3", optional = true, default-features = false }
ehttp = { workspace = true, optional = true }
poll-promise = { workspace = true, optional = true }
# feature "persistence":
serde = { workspace = true, optional = true }
@@ -89,16 +86,13 @@ serde = { workspace = true, optional = true }
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
env_logger = { version = "0.10", default-features = false, features = [
"auto-color",
"humantime",
] }
env_logger = { workspace = true, features = ["auto-color", "humantime"] }
mimalloc.workspace = true
rfd = { version = "0.15.3", optional = true }
rfd = { workspace = true, optional = true }
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "=0.2.100"
wasm-bindgen.workspace = true
wasm-bindgen-futures.workspace = true
web-sys.workspace = true