diff --git a/Cargo.lock b/Cargo.lock index 897c127485ff..544feb9ba423 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1125,7 +1125,7 @@ dependencies = [ "egui", "egui-winit", "egui_glow", - "egui_wgpu", + "egui-wgpu", "glow", "glutin", "js-sys", @@ -1244,7 +1244,7 @@ dependencies = [ ] [[package]] -name = "egui_wgpu" +name = "egui-wgpu" version = "0.18.0" dependencies = [ "bytemuck", diff --git a/Cargo.toml b/Cargo.toml index 78facf527c20..fc26b0625b79 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ members = [ "egui_extras", "egui_glium", "egui_glow", - "egui_wgpu", + "egui-wgpu", "egui-winit", "egui", "emath", diff --git a/README.md b/README.md index 361d4129cbf9..e78d4c7642ef 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,7 @@ These are the official egui integrations: * [`eframe`](https://github.com/emilk/egui/tree/master/eframe) for compiling the same app to web/wasm and desktop/native. Uses `egui_glow` and `egui-winit`. * [`egui_glium`](https://github.com/emilk/egui/tree/master/egui_glium) for compiling native apps with [Glium](https://github.com/glium/glium). * [`egui_glow`](https://github.com/emilk/egui/tree/master/egui_glow) for rendering egui with [glow](https://github.com/grovesNL/glow) on native and web, and for making native apps. +* [`egui-wgpu`](https://github.com/emilk/egui/tree/master/egui-wgpu) for [wgpu](https://crates.io/crates/wgpu) (WebGPU API). * [`egui-winit`](https://github.com/emilk/egui/tree/master/egui-winit) for integrating with [winit](https://github.com/rust-windowing/winit). ### 3rd party integrations @@ -174,7 +175,6 @@ These are the official egui integrations: * [`egui_glfw_gl`](https://github.com/cohaereo/egui_glfw_gl) for [GLFW](https://crates.io/crates/glfw). * [`egui_sdl2_gl`](https://crates.io/crates/egui_sdl2_gl) for [SDL2](https://crates.io/crates/sdl2). * [`egui_vulkano`](https://github.com/derivator/egui_vulkano) for [Vulkano](https://github.com/vulkano-rs/vulkano). -* [`egui_wgpu_backend`](https://crates.io/crates/egui_wgpu_backend) for [wgpu](https://crates.io/crates/wgpu) (WebGPU API). * [`egui_winit_vulkano`](https://github.com/hakolao/egui_winit_vulkano) for [Vulkano](https://github.com/vulkano-rs/vulkano). * [`egui-macroquad`](https://github.com/optozorax/egui-macroquad) for [macroquad](https://github.com/not-fl3/macroquad). * [`egui-miniquad`](https://github.com/not-fl3/egui-miniquad) for [Miniquad](https://github.com/not-fl3/miniquad). diff --git a/eframe/Cargo.toml b/eframe/Cargo.toml index 8304a8fb1fc8..13a48de42491 100644 --- a/eframe/Cargo.toml +++ b/eframe/Cargo.toml @@ -50,7 +50,7 @@ screen_reader = [ ] # Use WGPU as the backend instead of glow -wgpu = ["egui_wgpu"] +wgpu = ["egui-wgpu"] [dependencies] @@ -65,7 +65,7 @@ egui_glow = { version = "0.18.0", path = "../egui_glow", default-features = fals glow = { version = "0.11" } # optional: -egui_wgpu = { version = "0.18.0", path = "../egui_wgpu", optional = true, default-features = false } +egui-wgpu = { version = "0.18.0", path = "../egui-wgpu", optional = true, default-features = false } ron = { version = "0.7", optional = true } serde = { version = "1", optional = true } diff --git a/egui_wgpu/Cargo.toml b/egui-wgpu/Cargo.toml similarity index 95% rename from egui_wgpu/Cargo.toml rename to egui-wgpu/Cargo.toml index ecf117767561..c94cdeba3084 100644 --- a/egui_wgpu/Cargo.toml +++ b/egui-wgpu/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "egui_wgpu" +name = "egui-wgpu" version = "0.18.0" description = "Bindings for using egui natively using the wgpu library" authors = [ diff --git a/egui_wgpu/LICENSE-APACHE b/egui-wgpu/LICENSE-APACHE similarity index 100% rename from egui_wgpu/LICENSE-APACHE rename to egui-wgpu/LICENSE-APACHE diff --git a/egui_wgpu/LICENSE-MIT b/egui-wgpu/LICENSE-MIT similarity index 100% rename from egui_wgpu/LICENSE-MIT rename to egui-wgpu/LICENSE-MIT diff --git a/egui_wgpu/src/egui.wgsl b/egui-wgpu/src/egui.wgsl similarity index 100% rename from egui_wgpu/src/egui.wgsl rename to egui-wgpu/src/egui.wgsl diff --git a/egui_wgpu/src/lib.rs b/egui-wgpu/src/lib.rs similarity index 100% rename from egui_wgpu/src/lib.rs rename to egui-wgpu/src/lib.rs diff --git a/egui_wgpu/src/renderer.rs b/egui-wgpu/src/renderer.rs similarity index 100% rename from egui_wgpu/src/renderer.rs rename to egui-wgpu/src/renderer.rs