The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.
Rust ffmpegfree-video-editormodel-context-protocolnon-linear-editoroffline-firstopen-source-video-editorself-hostedvideo-editingvideo-editing-automationvideo-editing-softwarevideo-editing-toolsvideo-editorvoice-cloningyoutube-automationyoutube-shorts
chore(deps): wgpu 30 for the engine, the window and the shader check, so the build has one wgpu
Jareer2ef1fe91d4de
diff --git a/src/Cargo.lock b/src/Cargo.lockindex ccfb3a29..cc7488de 100644--- a/src/Cargo.lock+++ b/src/Cargo.lock@@ -688,15 +688,6 @@ dependencies = ["bit-vec 0.8.0",]-[[package]]-name = "bit-set"-version = "0.9.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "34ddef2995421ab6a5c779542c81ee77c115206f4ad9d5a8e05f4ff49716a3dd"-dependencies = [- "bit-vec 0.9.1",-]-[[package]]name = "bit-set"version = "0.10.0"@@ -1162,7 +1153,7 @@ dependencies = ["slint","slint-build","toml",- "wgpu 29.0.4",+ "wgpu",][[package]]@@ -1218,7 +1209,7 @@ version = "0.2.4"dependencies = ["concat-core","concat-project",- "naga 29.0.4",+ "naga","serde","thiserror 2.0.20","toml",@@ -1300,7 +1291,7 @@ dependencies = ["concat-effects","log","pollster",- "wgpu 29.0.4",+ "wgpu",][[package]]@@ -1845,6 +1836,21 @@ dependencies = ["rustix 0.38.44",]+[[package]]+name = "drm"+version = "0.15.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7a41816e58f47f49acfd956651055ddcf137c4882c2098c30c448817af21183a"+dependencies = [+ "bitflags 2.13.1",+ "bytemuck",+ "bytemuck_derive",+ "drm-ffi",+ "drm-fourcc",+ "libc",+ "rustix 1.1.4",+]+[[package]]name = "drm-ffi"version = "0.9.1"@@ -1933,7 +1939,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"dependencies = ["libc",- "windows-sys 0.61.2",+ "windows-sys 0.52.0",][[package]]@@ -2003,6 +2009,27 @@ dependencies = ["simd-adler32",]+[[package]]+name = "femtovg"+version = "0.27.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "31eebf3ab1b76359ccd5f850c07a7c6b2722c64d9127c40e02358e83f3ff9b1a"+dependencies = [+ "bitflags 2.13.1",+ "bytemuck",+ "fnv",+ "glow 0.18.0",+ "imgref",+ "itertools 0.15.0",+ "log",+ "rgb",+ "slotmap",+ "swash",+ "wasm-bindgen",+ "web-sys",+ "wgpu",+]+[[package]]name = "ffmpeg-sys-the-third"version = "6.0.0+ffmpeg-9.0"@@ -2336,7 +2363,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "ce852e998d3ca5e4a97014fb31c940dc5ef344ec7d364984525fd11e8a547e6a"dependencies = ["bitflags 2.13.1",- "drm",+ "drm 0.14.1","drm-fourcc","gbm-sys","libc",@@ -2535,27 +2562,7 @@ dependencies = ["log","presser","thiserror 2.0.20",- "windows 0.62.2",-]--[[package]]-name = "gpu-descriptor"-version = "0.3.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b89c83349105e3732062a895becfc71a8f921bb71ecbbdd8ff99263e3b53a0ca"-dependencies = [- "bitflags 2.13.1",- "gpu-descriptor-types",- "hashbrown 0.15.5",-]--[[package]]-name = "gpu-descriptor-types"-version = "0.2.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "fdf242682df893b86f33a73828fb09ca4b2d3bb6cc95249707fc684d27484b91"-dependencies = [- "bitflags 2.13.1",+ "windows 0.54.0",][[package]]@@ -2666,12 +2673,6 @@ version = "0.4.3"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"-[[package]]-name = "hexf-parse"-version = "0.2.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df"-[[package]]name = "hmac"version = "0.12.1"@@ -2819,7 +2820,7 @@ dependencies = ["bytemuck","calloop 0.14.4","cfg_aliases",- "drm",+ "drm 0.14.1","gbm","glutin","i-slint-common",@@ -2831,6 +2832,7 @@ dependencies = ["memmap2","nix","raw-window-handle",+ "wgpu","xkbcommon",]@@ -2849,6 +2851,7 @@ dependencies = ["i-slint-common","i-slint-core","i-slint-core-macros",+ "i-slint-renderer-femtovg","i-slint-renderer-skia",]@@ -2885,6 +2888,7 @@ dependencies = ["i-slint-common","i-slint-core","i-slint-core-macros",+ "i-slint-renderer-femtovg","i-slint-renderer-skia","i-slint-renderer-software","imgref",@@ -3013,8 +3017,7 @@ dependencies = ["wasm-bindgen","web-sys","web-time",- "wgpu 29.0.4",- "wgpu 30.0.1",+ "wgpu","windows 0.62.2",]@@ -3029,6 +3032,28 @@ dependencies = ["syn 3.0.4",]+[[package]]+name = "i-slint-renderer-femtovg"+version = "1.18.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "eb0de504d57cdadf80c2abf7bcb8b7135a3716aee1f41b6ebb90ea93e3649d7c"+dependencies = [+ "cfg-if",+ "const-field-offset",+ "femtovg",+ "glow 0.18.0",+ "i-slint-common",+ "i-slint-core",+ "i-slint-core-macros",+ "imgref",+ "lyon_path",+ "pin-weak",+ "rgb",+ "wasm-bindgen",+ "web-sys",+ "wgpu",+]+[[package]]name = "i-slint-renderer-skia"version = "1.18.1"@@ -3061,10 +3086,8 @@ dependencies = ["spin_on","unicode-segmentation","vtable",- "wgpu 29.0.4",- "wgpu 30.0.1",- "wgpu-hal 29.0.4",- "wgpu-hal 30.0.1",+ "wgpu",+ "wgpu-hal","windows 0.62.2","windows-core 0.62.2","write-fonts",@@ -4036,32 +4059,6 @@ version = "0.10.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084"-[[package]]-name = "naga"-version = "29.0.4"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b2bf919621e7975acb27d881bae2fb993e0d45c8e0446e85e6272971e00dc8df"-dependencies = [- "arrayvec",- "bit-set 0.9.1",- "bitflags 2.13.1",- "cfg-if",- "cfg_aliases",- "codespan-reporting",- "half",- "hashbrown 0.16.1",- "hexf-parse",- "indexmap",- "libm",- "log",- "num-traits",- "once_cell",- "rustc-hash 1.1.0",- "spirv",- "thiserror 2.0.20",- "unicode-ident",-]-[[package]]name = "naga"version = "30.0.1"@@ -4791,7 +4788,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967"dependencies = ["libc",- "windows-sys 0.61.2",+ "windows-sys 0.45.0",][[package]]@@ -5633,7 +5630,7 @@ dependencies = ["errno","libc","linux-raw-sys 0.12.1",- "windows-sys 0.61.2",+ "windows-sys 0.52.0",][[package]]@@ -6012,7 +6009,7 @@ dependencies = ["slint-macros","unicode-segmentation","vtable",- "wgpu 29.0.4",+ "wgpu",][[package]]@@ -6149,7 +6146,7 @@ checksum = "aac18da81ebbf05109ab275b157c22a653bb3c12cf884450179942f81bcbf6c3"dependencies = ["as-raw-xcb-connection","bytemuck",- "drm",+ "drm 0.14.1","fastrand","js-sys","memmap2",@@ -6371,7 +6368,7 @@ dependencies = ["getrandom 0.4.3","once_cell","rustix 1.1.4",- "windows-sys 0.61.2",+ "windows-sys 0.52.0",][[package]]@@ -7395,9 +7392,9 @@ checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88"[[package]]name = "wgpu"-version = "29.0.4"+version = "30.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "76e8840e1ba2881d4cbb18d2147627a56af426ff064c0401eb0c8410c6325d07"+checksum = "527ccdf43dd5b2e8676eed9984ce00e2bbb0a1b85b70c1969dcb6cd2eb55ab9e"dependencies = ["arrayvec","bitflags 2.13.1",@@ -7405,10 +7402,10 @@ dependencies = ["cfg-if","cfg_aliases","document-features",- "hashbrown 0.16.1",+ "hashbrown 0.17.1","js-sys","log",- "naga 29.0.4",+ "naga","parking_lot","portable-atomic","profiling",@@ -7418,66 +7415,9 @@ dependencies = ["wasm-bindgen","wasm-bindgen-futures","web-sys",- "wgpu-core 29.0.4",- "wgpu-hal 29.0.4",- "wgpu-types 29.0.4",-]--[[package]]-name = "wgpu"-version = "30.0.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "527ccdf43dd5b2e8676eed9984ce00e2bbb0a1b85b70c1969dcb6cd2eb55ab9e"-dependencies = [- "arrayvec",- "bitflags 2.13.1",- "bytemuck",- "cfg-if",- "cfg_aliases",- "document-features",- "hashbrown 0.17.1",- "log",- "portable-atomic",- "profiling",- "raw-window-handle",- "smallvec",- "static_assertions",- "wgpu-core 30.0.1",- "wgpu-hal 30.0.1",- "wgpu-types 30.0.1",-]--[[package]]-name = "wgpu-core"-version = "29.0.4"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "2f519832254e56965a9940c4af57dcb75f702b6f6fa4a0b172f685395843a4d7"-dependencies = [- "arrayvec",- "bit-set 0.9.1",- "bit-vec 0.9.1",- "bitflags 2.13.1",- "bytemuck",- "cfg_aliases",- "document-features",- "hashbrown 0.16.1",- "indexmap",- "log",- "naga 29.0.4",- "once_cell",- "parking_lot",- "portable-atomic",- "profiling",- "raw-window-handle",- "rustc-hash 1.1.0",- "smallvec",- "thiserror 2.0.20",- "wgpu-core-deps-apple 29.0.4",- "wgpu-core-deps-emscripten",- "wgpu-core-deps-windows-linux-android 29.0.4",- "wgpu-hal 29.0.4",- "wgpu-naga-bridge 29.0.4",- "wgpu-types 29.0.4",+ "wgpu-core",+ "wgpu-hal",+ "wgpu-types",][[package]]@@ -7496,7 +7436,7 @@ dependencies = ["hashbrown 0.17.1","indexmap","log",- "naga 30.0.1",+ "naga","naga-types","once_cell","parking_lot",@@ -7506,20 +7446,13 @@ dependencies = ["rustc-hash 1.1.0","smallvec","thiserror 2.0.20",- "wgpu-core-deps-apple 30.0.1",- "wgpu-core-deps-windows-linux-android 30.0.1",- "wgpu-hal 30.0.1",- "wgpu-naga-bridge 30.0.1",- "wgpu-types 30.0.1",-]--[[package]]-name = "wgpu-core-deps-apple"-version = "29.0.4"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f5e39e26c4c0e07589e67d18546cf79ff45383659fc72fca4dd293358a0347f3"-dependencies = [- "wgpu-hal 29.0.4",+ "wgpu-core-deps-apple",+ "wgpu-core-deps-emscripten",+ "wgpu-core-deps-wasm",+ "wgpu-core-deps-windows-linux-android",+ "wgpu-hal",+ "wgpu-naga-bridge",+ "wgpu-types",][[package]]@@ -7528,25 +7461,25 @@ version = "30.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "061f3d319a40d39d00b1ecc2c33b89fe21d4e6fe01859df3500a3a8ecccd6b68"dependencies = [- "wgpu-hal 30.0.1",+ "wgpu-hal",][[package]]name = "wgpu-core-deps-emscripten"-version = "29.0.4"+version = "30.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "01e09be551dc939498bdd5f6b2c66e55ab275dad25825267a08605a80fc9f0af"+checksum = "d98b86cf4abf524a902dd35f18ca6a3f08fc2ae9847c8f10b48e30491b1f0b86"dependencies = [- "wgpu-hal 29.0.4",+ "wgpu-hal",][[package]]-name = "wgpu-core-deps-windows-linux-android"-version = "29.0.4"+name = "wgpu-core-deps-wasm"+version = "30.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4e592c1bbef6ad047647ae6e666ebd8cee7a32bb4544d9700ec96cbf73230257"+checksum = "d260ca2ca8adc654f513a869bf3cac0b47f5b8d3f87803d6942015f8de597aae"dependencies = [- "wgpu-hal 29.0.4",+ "wgpu-hal",][[package]]@@ -7555,38 +7488,40 @@ version = "30.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "7586165fd5f6d881cb9ce4bb71f40d6caab2c0f1837e3fc1d9788a197fb6004f"dependencies = [- "wgpu-hal 30.0.1",+ "wgpu-hal",][[package]]name = "wgpu-hal"-version = "29.0.4"+version = "30.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "97ace1c17727311c22a46e4e3faf56ea6de81af99dcc839bdfb54857b94d448d"+checksum = "b6b7fb58561a792bc237628ba0792e332de418fefe145f13b5ed8201e6d52f58"dependencies = ["android_system_properties","arrayvec","ash",- "bit-set 0.9.1",+ "bit-set 0.10.0","bitflags 2.13.1","block2 0.6.2","bytemuck","cfg-if","cfg_aliases",+ "drm 0.15.0","glow 0.17.0","glutin_wgl_sys","gpu-allocator",- "gpu-descriptor",- "hashbrown 0.16.1",+ "hashbrown 0.17.1","js-sys","khronos-egl","libc","libloading","log",- "naga 29.0.4",+ "naga",+ "naga-types","ndk-sys 0.6.0+11769913","objc2 0.6.4","objc2-core-foundation",+ "objc2-core-graphics","objc2-foundation 0.3.2","objc2-metal 0.3.2","objc2-quartz-core 0.3.2",@@ -7601,96 +7536,26 @@ dependencies = ["raw-window-metal","renderdoc-sys","smallvec",+ "static_assertions","thiserror 2.0.20","wasm-bindgen","wayland-sys","web-sys",- "wgpu-naga-bridge 29.0.4",- "wgpu-types 29.0.4",+ "wgpu-naga-bridge",+ "wgpu-types","windows 0.62.2","windows-core 0.62.2","windows-result 0.4.1",]-[[package]]-name = "wgpu-hal"-version = "30.0.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b6b7fb58561a792bc237628ba0792e332de418fefe145f13b5ed8201e6d52f58"-dependencies = [- "android_system_properties",- "arrayvec",- "ash",- "bit-set 0.10.0",- "bitflags 2.13.1",- "block2 0.6.2",- "bytemuck",- "cfg-if",- "cfg_aliases",- "gpu-allocator",- "hashbrown 0.17.1",- "libc",- "libloading",- "log",- "naga 30.0.1",- "naga-types",- "objc2 0.6.4",- "objc2-core-foundation",- "objc2-core-graphics",- "objc2-foundation 0.3.2",- "objc2-metal 0.3.2",- "objc2-quartz-core 0.3.2",- "once_cell",- "ordered-float",- "parking_lot",- "portable-atomic",- "portable-atomic-util",- "profiling",- "range-alloc",- "raw-window-handle",- "raw-window-metal",- "renderdoc-sys",- "smallvec",- "static_assertions",- "thiserror 2.0.20",- "wgpu-naga-bridge 30.0.1",- "wgpu-types 30.0.1",- "windows 0.62.2",- "windows-core 0.62.2",-]--[[package]]-name = "wgpu-naga-bridge"-version = "29.0.4"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "95226013f547544b223281cd16a4fb549aa9dcb562adbda0faae4c73ffbbc161"-dependencies = [- "naga 29.0.4",- "wgpu-types 29.0.4",-]-[[package]]name = "wgpu-naga-bridge"version = "30.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "d2f62e73117bb7a62bfd9c5a5841438a823f6566c6442a808ee269d2d055c081"dependencies = [- "naga 30.0.1",- "wgpu-types 30.0.1",-]--[[package]]-name = "wgpu-types"-version = "29.0.4"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "84bf84cd9ca8ca45e2b223a3868f1adf9bfc0c66aeac212e76ee7e40fdadf8f5"-dependencies = [- "bitflags 2.13.1",- "bytemuck",- "js-sys",- "log",- "raw-window-handle",- "web-sys",+ "naga",+ "wgpu-types",][[package]]@@ -7701,10 +7566,12 @@ checksum = "99dad6f1fbdbbdb4c278a6508b059d44688f5cebddf78d005a46a31340269286"dependencies = ["bitflags 2.13.1","bytemuck",+ "js-sys","log","naga-types","raw-window-handle","static_assertions",+ "web-sys",][[package]]@@ -7751,7 +7618,7 @@ version = "0.1.11"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"dependencies = [- "windows-sys 0.61.2",+ "windows-sys 0.52.0",][[package]]diff --git a/src/Cargo.toml b/src/Cargo.tomlindex 1a0c8829..4d2f84f0 100644--- a/src/Cargo.toml+++ b/src/Cargo.toml@@ -32,7 +32,7 @@ clap = { version = "4", features = ["derive", "env"] }# the major Slint 1.17 can share a device with, so the window's renderer and# the engine's compositor draw on one device and a preview frame never leaves# the GPU.-wgpu = "29"+wgpu = "30"pollster = "0.4"# ONNX Runtime, for the cutout models. The binaries come prebuilt for everydiff --git a/src/crates/concat-effects/Cargo.toml b/src/crates/concat-effects/Cargo.tomlindex 5810869a..3031832f 100644--- a/src/crates/concat-effects/Cargo.toml+++ b/src/crates/concat-effects/Cargo.toml@@ -12,7 +12,7 @@ concat-core.workspace = trueserde = { version = "1", features = ["derive"] }# Shaders are parsed and checked at load, and their `Params` struct read# for its layout, with the same front end the renderer's wgpu uses.-naga = { version = "29", features = ["wgsl-in"] }+naga = { version = "30", features = ["wgsl-in"] }thiserror.workspace = true# Manifests are TOML: the format people hand-write. Project files stay JSON.toml = "1.1"diff --git a/src/crates/concat-render/src/gpu.rs b/src/crates/concat-render/src/gpu.rsindex 4b94ccad..7d7d605b 100644--- a/src/crates/concat-render/src/gpu.rs+++ b/src/crates/concat-render/src/gpu.rs@@ -479,7 +479,7 @@ impl WgpuCompositor {module: &shader,entry_point: Some("vs_main"),compilation_options: Default::default(),- buffers: std::slice::from_ref(&vertex_layout),+ buffers: &[Some(vertex_layout.clone())],},fragment: Some(wgpu::FragmentState {module: &shader,@@ -516,7 +516,7 @@ impl WgpuCompositor {module: &shader,entry_point: Some("vs_main"),compilation_options: Default::default(),- buffers: std::slice::from_ref(&vertex_layout),+ buffers: &[Some(vertex_layout.clone())],},fragment: Some(wgpu::FragmentState {module: &shader,@@ -1778,7 +1778,8 @@ impl WgpuCompositor {let mut frame = Frame::transparent(width, height);{- let data = slice.get_mapped_range();+ // A range that will not map is a failed map, as above.+ let data = slice.get_mapped_range().ok()?;let row_bytes = width as usize * 4;let pixels = frame.pixels_mut();for row in 0..height as usize {diff --git a/src/crates/concat/Cargo.toml b/src/crates/concat/Cargo.tomlindex 3eb34187..ca51404b 100644--- a/src/crates/concat/Cargo.toml+++ b/src/crates/concat/Cargo.toml@@ -32,7 +32,8 @@ path = "src/main.rs"# scripts/ios-app.sh).## Skia is the one renderer, on every platform: its text is gamma-correct,-# and it takes the engine's wgpu 29 device (gpu.rs, `unstable-wgpu-29`).+# and it takes the engine's wgpu 30 device (gpu.rs, `unstable-wgpu-30`): one+# wgpu in the build, and the one with HDR surfaces (SurfaceColorSpace).# FemtoVG over wgpu was a second, opt-in variant until Slint 1.18 moved it# to wgpu 30; nothing shipped it, and the Nix package, its one user, now# links Skia's prebuilt binaries (flake.nix).@@ -58,7 +59,7 @@ slint = { version = "1.18", default-features = false, features = [# The renderer draws on a wgpu device the window creates and shares with# the engine's compositor, so a monitor frame is a texture Slint shows# as it is - see gpu.rs.- "unstable-wgpu-29",+ "unstable-wgpu-30",] }# Native file and folder dialogs, which Slint deliberately does not have.rfd = "0.17"@@ -74,7 +75,7 @@ slint = { version = "1.18", default-features = false, features = ["accessibility","compat-1-2","unstable-winit-030",- "unstable-wgpu-29",+ "unstable-wgpu-30",] }[target.'cfg(target_os = "android")'.dependencies]@@ -85,7 +86,7 @@ slint = { version = "1.18", default-features = false, features = ["renderer-skia","accessibility","compat-1-2",- "unstable-wgpu-29",+ "unstable-wgpu-30",] }[dependencies]diff --git a/src/crates/concat/src/gpu.rs b/src/crates/concat/src/gpu.rsindex a468e792..919811e0 100644--- a/src/crates/concat/src/gpu.rs+++ b/src/crates/concat/src/gpu.rs@@ -113,8 +113,8 @@ impl Gpu {}/// The device as Slint takes it.- pub fn configuration(&self) -> slint::wgpu_29::WGPUConfiguration {- slint::wgpu_29::WGPUConfiguration::Manual {+ pub fn configuration(&self) -> slint::wgpu_30::WGPUConfiguration {+ slint::wgpu_30::WGPUConfiguration::Manual {instance: self.instance.clone(),adapter: self.adapter.clone(),device: self.device.clone(),diff --git a/src/crates/concat/src/platform.rs b/src/crates/concat/src/platform.rsindex 7cbc2098..13207463 100644--- a/src/crates/concat/src/platform.rs+++ b/src/crates/concat/src/platform.rs@@ -186,7 +186,7 @@ pub fn select_backend(.backend_name("winit".into()).with_winit_custom_application_handler(DropHandler::new(on_files_dropped, on_pressed_away));selector = match &gpu {- Some(gpu) => selector.require_wgpu_29(gpu.configuration()),+ Some(gpu) => selector.require_wgpu_30(gpu.configuration()),None => {// Without a shared device, ask for the platform's own API by// name: Skia picks its surface from a cfg chain, and requiring