mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 07:03:14 -04:00
eframe: add feature wgpu_no_default_features (#7700)
* Part of https://github.com/emilk/egui/issues/5889 * Closes https://github.com/emilk/egui/issues/7106 This changes the `eframe/wgpu` feature to also enable all the `default` features of `wgpu` and `egui-wgpu`. This makes switching `eframe` backend from `glow` to `wgpu` a lot easier. To get the old behavior (depend on `wgpu` but you must opt-in to all its features), use the new `wgpu_no_default_features` feature.
This commit is contained in:
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
@@ -46,7 +46,9 @@ jobs:
|
||||
|
||||
- run: cargo clippy --locked --no-default-features --lib --all-targets
|
||||
|
||||
- run: cargo clippy --locked --no-default-features --features x11 --lib -p eframe
|
||||
- run: cargo clippy --locked --no-default-features --lib -p eframe --features x11
|
||||
|
||||
- run: cargo clippy --locked --no-default-features --lib -p eframe --features x11,wgpu_no_default_features
|
||||
|
||||
- run: cargo clippy --locked --no-default-features --lib -p egui_extras
|
||||
|
||||
|
||||
Reference in New Issue
Block a user