mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -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:
@@ -70,7 +70,7 @@ ui.label(format!("Hello '{}', age {}", name, age));
|
||||
* Modular: You should be able to use small parts of Egui and combine them in new ways
|
||||
* Safe: there is no `unsafe` code in Egui
|
||||
* Minimal dependencies
|
||||
* Egui uses [`rusttype`](https://crates.io/crates/rusttype) to render text and [`ahash`](https://crates.io/crates/ahash) + [`parking_lot`](https://crates.io/crates/parking_lot) for a speed boost.
|
||||
* [`rusttype`](https://crates.io/crates/rusttype), [`atomic_refcell`](https://crates.io/crates/atomic_refcell) and [`ahash`](https://crates.io/crates/ahash).
|
||||
|
||||
Egui is *not* a framework. Egui is a library you call into, not an environment you program for.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user