mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Add #![forbid(unsafe_code)] and safety badge
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
[](https://crates.io/crates/egui)
|
||||
[](https://docs.rs/egui)
|
||||
[](https://github.com/rust-secure-code/safety-dance/)
|
||||

|
||||

|
||||
|
||||
@@ -54,6 +55,7 @@ Window::new("Debug").show(ui.ctx(), |ui| {
|
||||
* Simple: no callbacks, minimal dependencies, avoid unnecessary monomorphization
|
||||
* Extensible: [easy to write your own widgets for Egui](https://github.com/emilk/egui/blob/master/egui/src/demos/toggle_switch.rs)
|
||||
* 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
|
||||
|
||||
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