1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 05:10:03 -04:00

Add egui_glow as an opt-in backend to eframe (#817)

* Make egui_glow and opt-in backend for eframe

* Add egui_glow to Cargo.toml and to CI

* Reference egui_glow where egui_glium is mentioned

* Remove path-patches from root Cargo.toml

* Add instructions on how to enable the glow backend of eframe
This commit is contained in:
Emil Ernerfeldt
2021-10-19 15:32:23 +02:00
committed by GitHub
parent cf273e3519
commit cdd4dccf5f
14 changed files with 80 additions and 22 deletions

39
Cargo.lock generated
View File

@@ -836,6 +836,7 @@ version = "0.14.0"
dependencies = [
"egui",
"egui_glium",
"egui_glow",
"egui_web",
"epi",
"image",
@@ -905,6 +906,23 @@ dependencies = [
"serde",
]
[[package]]
name = "egui_glow"
version = "0.14.0"
dependencies = [
"chrono",
"directories-next",
"egui",
"egui-winit",
"epi",
"glow",
"glutin",
"image",
"memoffset",
"ron",
"serde",
]
[[package]]
name = "egui_web"
version = "0.14.1"
@@ -1174,6 +1192,18 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
[[package]]
name = "glow"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4f04649123493bc2483cbef4daddb45d40bbdae5adb221a63a23efdb0cc99520"
dependencies = [
"js-sys",
"slotmap",
"wasm-bindgen",
"web-sys",
]
[[package]]
name = "glutin"
version = "0.27.0"
@@ -2300,6 +2330,15 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
[[package]]
name = "slotmap"
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1e08e261d0e8f5c43123b7adf3e4ca1690d655377ac93a03b2c9d3e98de1342"
dependencies = [
"version_check",
]
[[package]]
name = "smallvec"
version = "1.7.0"