mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -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:
@@ -56,7 +56,7 @@ x11 = ["winit?/x11"]
|
||||
egui = { workspace = true, default-features = false, features = ["bytemuck"] }
|
||||
egui-winit = { workspace = true, optional = true, default-features = false }
|
||||
|
||||
bytemuck = "1.7"
|
||||
bytemuck.workspace = true
|
||||
glow.workspace = true
|
||||
log.workspace = true
|
||||
memoffset = "0.9"
|
||||
@@ -74,13 +74,13 @@ winit = { workspace = true, optional = true, default-features = false, features
|
||||
|
||||
# Web:
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
web-sys = { version = "0.3", features = ["console"] }
|
||||
wasm-bindgen = "0.2"
|
||||
web-sys = { workspace = true, features = ["console"] }
|
||||
wasm-bindgen.workspace = true
|
||||
|
||||
|
||||
[dev-dependencies]
|
||||
glutin = "0.31" # examples/pure_glow
|
||||
glutin-winit = "0.4.0"
|
||||
glutin.workspace = true # examples/pure_glow
|
||||
glutin-winit.workspace = true
|
||||
# glutin stuck on old version of raw-window-handle:
|
||||
rwh_05 = { package = "raw-window-handle", version = "0.5.2", features = [
|
||||
"std",
|
||||
|
||||
Reference in New Issue
Block a user