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 20:09:52 +02:00
committed by GitHub
parent ac82cc7be3
commit c0929014bf
5 changed files with 189 additions and 0 deletions
+3
View File
@@ -39,6 +39,9 @@ extra_asserts = ["epaint/extra_asserts"]
# Add compatability with https://github.com/kvark/mint
mint = ["epaint/mint"]
# add compatibility with https://crates.io/crates/cint
cint = ["epaint/cint"]
persistence = ["serde", "epaint/persistence", "ron"]
# Only needed if you plan to use the same egui::Context from multiple threads.