1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 22:00:03 -04:00

Add support for cint (conversions to and from color types) (#393)

* implement cint for color types under feature flag

* upgrade to cint 0.2, remove from default features

* upgrade to cint 0.2.1, add a couple more from/into implementations

* changelog entry

* fix typo in changelog

* sort dependency

* fmt
This commit is contained in:
Gray Olson
2021-05-20 11:09:52 -07:00
committed by GitHub
parent ac82cc7be3
commit c0929014bf
5 changed files with 189 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ emath = { version = "0.12.0", path = "../emath" }
ahash = { version = "0.7", features = ["std"], default-features = false }
atomic_refcell = { version = "0.1", optional = true } # Used instead of parking_lot when you are always using epaint in a single thread. About as fast as parking_lot. Panics on multi-threaded use.
cint = { version = "^0.2.1", optional = true }
ordered-float = "2"
parking_lot = { version = "0.11", optional = true } # Using parking_lot over std::sync::Mutex gives 50% speedups in some real-world scenarios.
rusttype = "0.9"