1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00

Replace parking_lot with atomic_refcell

You can still opt-in to use parking_lot if you plan to use the same
egui::Context from multiple threads.
This commit is contained in:
Emil Ernerfeldt
2020-12-26 20:36:25 +01:00
parent 58fcf0f2a1
commit 6f5fd1b9c0
6 changed files with 104 additions and 21 deletions

View File

@@ -18,7 +18,6 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
egui = { version = "0.5.0", path = "../egui", features = ["serde"] }
js-sys = "0.3"
parking_lot = { version = "0.11", features = ["wasm-bindgen"] }
serde = "1"
serde_json = "1"
wasm-bindgen = "0.2"