mirror of
https://github.com/storytold/egui.git
synced 2026-11-19 09:01:37 +01:00
* Part of https://github.com/emilk/egui/issues/5735 Enables the `clippy::std_instead_of_alloc` lint in `egui`, `emath`, `epaint`, `ecolor`, `epaint_default_fonts` and `egui_extras`, and fixes all the warnings (`std::sync::Arc` → `alloc::sync::Arc`, etc). Each crate gets `extern crate alloc;` where needed. This is enabled per-crate (via `#![warn(…)]` in `lib.rs`) rather than workspace-wide, to avoid sprinkling `extern crate alloc;` across every example and test.