diff --git a/Cargo.lock b/Cargo.lock index 6c68b37..e5536e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -566,8 +566,7 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" [[package]] name = "egui" version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c733356eb5f1139fdeedc370c00e9ea689c5d9120502c43925285bc7249a333" +source = "git+https://github.com/niklaskorz/egui.git?rev=d94497e27ba3c954868a4af6e5bd5cd364230d0a#d94497e27ba3c954868a4af6e5bd5cd364230d0a" dependencies = [ "ahash 0.7.4", "epaint", @@ -577,11 +576,11 @@ dependencies = [ [[package]] name = "egui-winit" version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d5469a6ffc609e9e41e647617c0480ea4af69a8563e6efc4e1d7df0d550b5ef" +source = "git+https://github.com/niklaskorz/egui.git?rev=d94497e27ba3c954868a4af6e5bd5cd364230d0a#d94497e27ba3c954868a4af6e5bd5cd364230d0a" dependencies = [ "copypasta", "egui", + "instant", "webbrowser", "winit", ] @@ -606,8 +605,7 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" [[package]] name = "emath" version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55673de2eb96660dde25ba7b2d36a7054beead1a2bec74dcfd5eb05a1e1ba76d" +source = "git+https://github.com/niklaskorz/egui.git?rev=d94497e27ba3c954868a4af6e5bd5cd364230d0a#d94497e27ba3c954868a4af6e5bd5cd364230d0a" [[package]] name = "env_logger" @@ -625,8 +623,7 @@ dependencies = [ [[package]] name = "epaint" version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adfd9296f7f92902e41c0e8e5deca6d2fb29f289c86d03a01ea01bd7498316c2" +source = "git+https://github.com/niklaskorz/egui.git?rev=d94497e27ba3c954868a4af6e5bd5cd364230d0a#d94497e27ba3c954868a4af6e5bd5cd364230d0a" dependencies = [ "ab_glyph", "ahash 0.7.4", diff --git a/Cargo.toml b/Cargo.toml index 0a25cbe..51aca2c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ bytemuck = { version = "1.5", features = ["derive"] } anyhow = "1.0" tobj = "3.0" egui = "0.16" -egui-winit = "0.16.0" +egui-winit = "0.16" egui_wgpu_backend = "0.16" wgpu = "0.12" syntect = { version = "4", default-features = false, features = ["default-fancy"] } @@ -34,3 +34,7 @@ console_error_panic_hook = "0.1.6" console_log = "0.2.0" [features] + +[patch.crates-io] +egui = { git = "https://github.com/niklaskorz/egui.git", rev = "d94497e27ba3c954868a4af6e5bd5cd364230d0a" } +egui-winit = { git = "https://github.com/niklaskorz/egui.git", rev = "d94497e27ba3c954868a4af6e5bd5cd364230d0a" }