From 5bf918ed1b611ad94816809c90fa8b27e4ad6619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=96R=C3=96K=20Attila?= Date: Wed, 3 Jul 2024 15:53:20 +0200 Subject: [PATCH] desktop: Update `egui` to `v0.28.0` --- Cargo.lock | 35 +++++++++++++++++++++-------------- Cargo.toml | 2 +- core/Cargo.toml | 2 +- deny.toml | 3 --- desktop/Cargo.toml | 6 +++--- 5 files changed, 26 insertions(+), 22 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 514fb7d1fbcdd..61d9c95629f68 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1451,8 +1451,9 @@ checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" [[package]] name = "ecolor" -version = "0.27.2" -source = "git+https://github.com/emilk/egui.git?rev=413843dd7ca7c177aaac233cd24b547d2b904d19#413843dd7ca7c177aaac233cd24b547d2b904d19" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2cabe0a45c3736c274bc650ca02ab293eb2ad1a3870f6033590ca7a3ee9963c" dependencies = [ "bytemuck", "emath", @@ -1460,8 +1461,9 @@ dependencies = [ [[package]] name = "egui" -version = "0.27.2" -source = "git+https://github.com/emilk/egui.git?rev=413843dd7ca7c177aaac233cd24b547d2b904d19#413843dd7ca7c177aaac233cd24b547d2b904d19" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dce16991290ee6395f3780b9b0db15bf0368bce2f31f2e9ba276d26e4b09cda" dependencies = [ "ahash", "emath", @@ -1472,8 +1474,9 @@ dependencies = [ [[package]] name = "egui-wgpu" -version = "0.27.2" -source = "git+https://github.com/emilk/egui.git?rev=413843dd7ca7c177aaac233cd24b547d2b904d19#413843dd7ca7c177aaac233cd24b547d2b904d19" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f62b48d3c8eec54aa662da7d353628ae6b36f37c268f020cba198b83e642034" dependencies = [ "ahash", "bytemuck", @@ -1490,8 +1493,9 @@ dependencies = [ [[package]] name = "egui-winit" -version = "0.27.2" -source = "git+https://github.com/emilk/egui.git?rev=413843dd7ca7c177aaac233cd24b547d2b904d19#413843dd7ca7c177aaac233cd24b547d2b904d19" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef6d149cc9db915f34df8a90eb81853c9376044fc938f67d848729b27c6b0128" dependencies = [ "ahash", "arboard", @@ -1506,8 +1510,9 @@ dependencies = [ [[package]] name = "egui_extras" -version = "0.27.2" -source = "git+https://github.com/emilk/egui.git?rev=413843dd7ca7c177aaac233cd24b547d2b904d19#413843dd7ca7c177aaac233cd24b547d2b904d19" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de9caa162e2d75084e637fbb46637fb864b7411e8ce772425a0e7e4746f81368" dependencies = [ "ahash", "egui", @@ -1525,8 +1530,9 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "emath" -version = "0.27.2" -source = "git+https://github.com/emilk/egui.git?rev=413843dd7ca7c177aaac233cd24b547d2b904d19#413843dd7ca7c177aaac233cd24b547d2b904d19" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "275f98c04af8359eeef56af16dfafd2bc7a65d9c0e5f2f00918057ca90a9fba8" dependencies = [ "bytemuck", ] @@ -1654,8 +1660,9 @@ dependencies = [ [[package]] name = "epaint" -version = "0.27.2" -source = "git+https://github.com/emilk/egui.git?rev=413843dd7ca7c177aaac233cd24b547d2b904d19#413843dd7ca7c177aaac233cd24b547d2b904d19" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "205d6fcd02317e3e06cb32d28f821dd549b14ab12da6ff283dda57c4ebe4cb45" dependencies = [ "ab_glyph", "ahash", diff --git a/Cargo.toml b/Cargo.toml index 8559bb1b4a195..9f0190c3d834c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,7 +50,7 @@ tracing = "0.1.40" tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } naga = { version = "0.20.0", features = ["wgsl-out"] } wgpu = "0.20.1" -egui = { git = "https://github.com/emilk/egui.git", rev = "413843dd7ca7c177aaac233cd24b547d2b904d19" } +egui = "0.28.0" clap = { version = "4.5.8", features = ["derive"] } anyhow = "1.0" slotmap = "1.0.7" diff --git a/core/Cargo.toml b/core/Cargo.toml index 405354e47a3b4..84273c37ae639 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -55,7 +55,7 @@ hashbrown = { version = "0.14.5", features = ["raw"] } scopeguard = "1.2.0" fluent-templates = "0.9.4" egui = { workspace = true, optional = true } -egui_extras = { git = "https://github.com/emilk/egui.git", rev = "413843dd7ca7c177aaac233cd24b547d2b904d19", optional = true } +egui_extras = { version = "0.28.0", optional = true } png = { version = "0.17.13", optional = true } flv-rs = { path = "../flv" } async-channel = { workspace = true } diff --git a/deny.toml b/deny.toml index 736e9ebc2485b..1cbc47b66999b 100644 --- a/deny.toml +++ b/deny.toml @@ -77,9 +77,6 @@ unknown-git = "deny" # github.com organizations to allow git sources for github = [ "ruffle-rs", - # TODO: Remove once egui is updated to the first release - # with https://github.com/emilk/egui/pull/4160 in it. - "emilk", ] [advisories] diff --git a/desktop/Cargo.toml b/desktop/Cargo.toml index 7e1b9e97643bc..c50ac0e22a720 100644 --- a/desktop/Cargo.toml +++ b/desktop/Cargo.toml @@ -14,10 +14,10 @@ workspace = true clap = { workspace = true } cpal = "0.15.3" egui = { workspace = true } -egui_extras = { git = "https://github.com/emilk/egui.git", rev = "413843dd7ca7c177aaac233cd24b547d2b904d19", features = ["image"] } -egui-wgpu = { git = "https://github.com/emilk/egui.git", rev = "413843dd7ca7c177aaac233cd24b547d2b904d19", features = ["winit"] } +egui_extras = { version = "0.28.0", features = ["image"] } +egui-wgpu = { version = "0.28.0", features = ["winit"] } image = { workspace = true, features = ["png"] } -egui-winit = { git = "https://github.com/emilk/egui.git", rev = "413843dd7ca7c177aaac233cd24b547d2b904d19" } +egui-winit = "0.28.0" fontdb = "0.18" ruffle_core = { path = "../core", features = ["audio", "clap", "mp3", "nellymoser", "default_compatibility_rules", "egui"] } ruffle_render = { path = "../render", features = ["clap"] }