mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Move dependencies to workspace (#4495)
<!--
Please read the "Making a PR" section of
[`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/master/CONTRIBUTING.md)
before opening a Pull Request!
* Keep your PR:s small and focused.
* The PR title is what ends up in the changelog, so make it descriptive!
* If applicable, add a screenshot or gif.
* If it is a non-trivial addition, consider adding a demo for it to
`egui_demo_lib`, or a new example.
* Do NOT open PR:s from your `master` branch, as that makes it hard for
maintainers to add commits to your PR.
* Remember to run `cargo fmt` and `cargo clippy`.
* Open the PR as a draft until you have self-reviewed it and run
`./scripts/check.sh`.
* When you have addressed a PR comment, mark it as resolved.
Please be patient! I will review your PR, but my time is limited!
-->
Inspired by:
44d65f41ac/Cargo.toml (L65)
I took the liberty of removing that comment since I *think* that I got
all "relevant" ones (showing up more than once, sort of).
This commit is contained in:
@@ -62,24 +62,31 @@ egui_demo_lib = { version = "0.27.2", path = "crates/egui_demo_lib", default-fea
|
||||
egui_glow = { version = "0.27.2", path = "crates/egui_glow", default-features = false }
|
||||
eframe = { version = "0.27.2", path = "crates/eframe", default-features = false }
|
||||
|
||||
#TODO(emilk): make more things workspace dependencies
|
||||
ahash = { version = "0.8.6", default-features = false, features = [
|
||||
"no-rng", # we don't need DOS-protection, so we let users opt-in to it instead
|
||||
"std",
|
||||
] }
|
||||
backtrace = "0.3"
|
||||
bytemuck = "1.7.2"
|
||||
criterion = { version = "0.5.1", default-features = false }
|
||||
document-features = " 0.2.8"
|
||||
glow = "0.13"
|
||||
glutin = "0.31"
|
||||
glutin-winit = "0.4"
|
||||
image = { version = "0.25", default-features = false }
|
||||
log = { version = "0.4", features = ["std"] }
|
||||
nohash-hasher = "0.2"
|
||||
parking_lot = "0.12"
|
||||
puffin = "0.19"
|
||||
puffin_http = "0.16"
|
||||
ron = "0.8"
|
||||
raw-window-handle = "0.6.0"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
thiserror = "1.0.37"
|
||||
web-time = "0.2" # Timekeeping for native and web
|
||||
wasm-bindgen = "0.2"
|
||||
wasm-bindgen-futures = "0.4"
|
||||
web-sys = "0.3.58"
|
||||
wgpu = { version = "0.20.0", default-features = false, features = [
|
||||
# Make the renderer `Sync` even on wasm32, because it makes the code simpler:
|
||||
"fragile-send-sync-non-atomic-wasm",
|
||||
|
||||
Reference in New Issue
Block a user