Files
egui/crates/ecolor
Emil Ernerfeldt dc28236466 Enable clippy::std_instead_of_alloc in core egui crates (#8702)
* 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.
2026-10-12 07:41:15 +00:00
..
2026-09-08 15:29:48 +00:00

ecolor - egui color library

Latest version Documentation unsafe forbidden MIT Apache

A simple color storage and conversion library.

This crate is built for the wants and needs of egui.

If you want an actual good color crate, use color instead.