diff --git a/Cargo.lock b/Cargo.lock index dafc762..e3b1cfe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -148,7 +148,7 @@ version = "0.37.2+1.3.238" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28bf19c1f0a470be5fbf7522a308a05df06610252c5bcf5143e1b23f629a9a03" dependencies = [ - "libloading", + "libloading 0.7.4", ] [[package]] @@ -510,10 +510,11 @@ checksum = "b365fabc795046672053e29c954733ec3b05e4be654ab130fe8f1f94d7051f35" [[package]] name = "d3d12" version = "0.6.0" -source = "git+https://github.com/gfx-rs/d3d12-rs?rev=b940b1d71#b940b1d71ab7083ae80eec697872672dc1f2bd32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8f0de2f5a8e7bd4a9eec0e3c781992a4ce1724f68aec7d7a3715344de8b39da" dependencies = [ "bitflags 1.3.2", - "libloading", + "libloading 0.7.4", "winapi", ] @@ -549,7 +550,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac1b7517328c04c2aa68422fc60a41b92208182142ed04a25879c26c8f878794" dependencies = [ - "libloading", + "libloading 0.7.4", ] [[package]] @@ -561,7 +562,7 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" [[package]] name = "ecolor" version = "0.21.0" -source = "git+https://github.com/niklaskorz/egui.git?rev=7794c3989d1561b854b345479bb2745de85d7e19#7794c3989d1561b854b345479bb2745de85d7e19" +source = "git+https://github.com/niklaskorz/egui.git?rev=732c8b1850c94ae5de76c45398b1929147670d44#732c8b1850c94ae5de76c45398b1929147670d44" dependencies = [ "bytemuck", ] @@ -569,7 +570,7 @@ dependencies = [ [[package]] name = "egui" version = "0.21.0" -source = "git+https://github.com/niklaskorz/egui.git?rev=7794c3989d1561b854b345479bb2745de85d7e19#7794c3989d1561b854b345479bb2745de85d7e19" +source = "git+https://github.com/niklaskorz/egui.git?rev=732c8b1850c94ae5de76c45398b1929147670d44#732c8b1850c94ae5de76c45398b1929147670d44" dependencies = [ "ahash 0.8.3", "epaint", @@ -580,7 +581,7 @@ dependencies = [ [[package]] name = "egui-wgpu" version = "0.21.0" -source = "git+https://github.com/niklaskorz/egui.git?rev=7794c3989d1561b854b345479bb2745de85d7e19#7794c3989d1561b854b345479bb2745de85d7e19" +source = "git+https://github.com/niklaskorz/egui.git?rev=732c8b1850c94ae5de76c45398b1929147670d44#732c8b1850c94ae5de76c45398b1929147670d44" dependencies = [ "bytemuck", "epaint", @@ -592,7 +593,7 @@ dependencies = [ [[package]] name = "egui-winit" version = "0.21.1" -source = "git+https://github.com/niklaskorz/egui.git?rev=7794c3989d1561b854b345479bb2745de85d7e19#7794c3989d1561b854b345479bb2745de85d7e19" +source = "git+https://github.com/niklaskorz/egui.git?rev=732c8b1850c94ae5de76c45398b1929147670d44#732c8b1850c94ae5de76c45398b1929147670d44" dependencies = [ "android-activity", "arboard", @@ -613,7 +614,7 @@ checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" [[package]] name = "emath" version = "0.21.0" -source = "git+https://github.com/niklaskorz/egui.git?rev=7794c3989d1561b854b345479bb2745de85d7e19#7794c3989d1561b854b345479bb2745de85d7e19" +source = "git+https://github.com/niklaskorz/egui.git?rev=732c8b1850c94ae5de76c45398b1929147670d44#732c8b1850c94ae5de76c45398b1929147670d44" dependencies = [ "bytemuck", ] @@ -654,7 +655,7 @@ dependencies = [ [[package]] name = "epaint" version = "0.21.0" -source = "git+https://github.com/niklaskorz/egui.git?rev=7794c3989d1561b854b345479bb2745de85d7e19#7794c3989d1561b854b345479bb2745de85d7e19" +source = "git+https://github.com/niklaskorz/egui.git?rev=732c8b1850c94ae5de76c45398b1929147670d44#732c8b1850c94ae5de76c45398b1929147670d44" dependencies = [ "ab_glyph", "ahash 0.8.3", @@ -1015,7 +1016,7 @@ dependencies = [ "bitflags 1.3.2", "com-rs", "libc", - "libloading", + "libloading 0.7.4", "thiserror", "widestring", "winapi", @@ -1195,7 +1196,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c2352bd1d0bceb871cb9d40f24360c8133c11d7486b68b5381c1dd1a32015e3" dependencies = [ "libc", - "libloading", + "libloading 0.7.4", "pkg-config", ] @@ -1247,6 +1248,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "libloading" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d580318f95776505201b28cf98eb1fa5e4be3b689633ba6a3e6cd880ff22d8cb" +dependencies = [ + "cfg-if", + "windows-sys 0.48.0", +] + [[package]] name = "line-wrap" version = "0.1.1" @@ -1399,8 +1410,9 @@ dependencies = [ [[package]] name = "naga" -version = "0.11.0" -source = "git+https://github.com/gfx-rs/naga?rev=9742f1616c3e3dd2cc9a5880616fc886c391bb9f#9742f1616c3e3dd2cc9a5880616fc886c391bb9f" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f00ce114f2867153c079d4489629dbd27aa4b5387a8ba5341bd3f6dfe870688f" dependencies = [ "bit-set", "bitflags 1.3.2", @@ -2563,8 +2575,9 @@ checksum = "9193164d4de03a926d909d3bc7c30543cecb35400c02114792c2cae20d5e2dbb" [[package]] name = "wgpu" -version = "0.15.0" -source = "git+https://github.com/niklaskorz/wgpu.git?rev=514218da6de8d938263f4f7501d6f0b35ad230ec#514218da6de8d938263f4f7501d6f0b35ad230ec" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13edd72c7b08615b7179dd7e778ee3f0bdc870ef2de9019844ff2cceeee80b11" dependencies = [ "arrayvec", "cfg-if", @@ -2586,8 +2599,9 @@ dependencies = [ [[package]] name = "wgpu-core" -version = "0.15.0" -source = "git+https://github.com/niklaskorz/wgpu.git?rev=514218da6de8d938263f4f7501d6f0b35ad230ec#514218da6de8d938263f4f7501d6f0b35ad230ec" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "625bea30a0ba50d88025f95c80211d1a85c86901423647fb74f397f614abbd9a" dependencies = [ "arrayvec", "bit-vec", @@ -2608,8 +2622,9 @@ dependencies = [ [[package]] name = "wgpu-hal" -version = "0.15.1" -source = "git+https://github.com/niklaskorz/wgpu.git?rev=514218da6de8d938263f4f7501d6f0b35ad230ec#514218da6de8d938263f4f7501d6f0b35ad230ec" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41af2ea7d87bd41ad0a37146252d5f7c26490209f47f544b2ee3b3ff34c7732e" dependencies = [ "android_system_properties", "arrayvec", @@ -2628,7 +2643,7 @@ dependencies = [ "js-sys", "khronos-egl", "libc", - "libloading", + "libloading 0.8.0", "log", "metal", "naga", @@ -2649,8 +2664,9 @@ dependencies = [ [[package]] name = "wgpu-types" -version = "0.15.0" -source = "git+https://github.com/niklaskorz/wgpu.git?rev=514218da6de8d938263f4f7501d6f0b35ad230ec#514218da6de8d938263f4f7501d6f0b35ad230ec" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5bd33a976130f03dcdcd39b3810c0c3fc05daf86f0aaf867db14bfb7c4a9a32b" dependencies = [ "bitflags 2.1.0", "js-sys", @@ -2709,7 +2725,7 @@ version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e745dab35a0c4c77aa3ce42d595e13d2003d6902d6b08c9ef5fc326d08da12b" dependencies = [ - "windows-targets", + "windows-targets 0.42.2", ] [[package]] @@ -2718,13 +2734,13 @@ version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", ] [[package]] @@ -2733,7 +2749,16 @@ version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" dependencies = [ - "windows-targets", + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets 0.48.0", ] [[package]] @@ -2742,13 +2767,28 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-targets" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" +dependencies = [ + "windows_aarch64_gnullvm 0.48.0", + "windows_aarch64_msvc 0.48.0", + "windows_i686_gnu 0.48.0", + "windows_i686_msvc 0.48.0", + "windows_x86_64_gnu 0.48.0", + "windows_x86_64_gnullvm 0.48.0", + "windows_x86_64_msvc 0.48.0", ] [[package]] @@ -2757,42 +2797,84 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" + [[package]] name = "windows_i686_gnu" version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" +[[package]] +name = "windows_i686_gnu" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" + [[package]] name = "windows_i686_msvc" version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" +[[package]] +name = "windows_i686_msvc" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" + [[package]] name = "winit" version = "0.28.3" diff --git a/Cargo.toml b/Cargo.toml index ae7ce2a..1b4c9c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ anyhow = "1.0" tobj = "3.0" egui = "0.21" egui-wgpu = "0.21" -wgpu = "0.15" +wgpu = "0.16" syntect = { version = "5", default-features = false, features = ["default-fancy"] } enum-map = "2.4.2" @@ -38,12 +38,7 @@ console_error_panic_hook = "0.1.7" [features] [patch.crates-io] -wgpu = { git = "https://github.com/niklaskorz/wgpu.git", rev = "514218da6de8d938263f4f7501d6f0b35ad230ec" } -egui = { git = "https://github.com/niklaskorz/egui.git", rev = "7794c3989d1561b854b345479bb2745de85d7e19" } -egui-wgpu = { git = "https://github.com/niklaskorz/egui.git", rev = "7794c3989d1561b854b345479bb2745de85d7e19" } -egui-winit = { git = "https://github.com/niklaskorz/egui.git", rev = "7794c3989d1561b854b345479bb2745de85d7e19" } -#wgpu = { path = "../wgpu/wgpu" } -#egui = { path = "../egui/crates/egui" } -#egui-wgpu = { path = "../egui/crates/egui-wgpu" } -#egui-winit = { path = "../egui/crates/egui-winit" } +egui = { git = "https://github.com/niklaskorz/egui.git", rev = "732c8b1850c94ae5de76c45398b1929147670d44" } +egui-wgpu = { git = "https://github.com/niklaskorz/egui.git", rev = "732c8b1850c94ae5de76c45398b1929147670d44" } +egui-winit = { git = "https://github.com/niklaskorz/egui.git", rev = "732c8b1850c94ae5de76c45398b1929147670d44" }