Ogeon / palette

A Rust library for linear color calculations and conversion
Apache License 2.0
748 stars 60 forks source link

Allow `serializing` feature for `no-std` environments? #335

Open NicolasKlenert opened 1 year ago

NicolasKlenert commented 1 year ago

I noticed that the serializing feature does not only need serde but also std. I couldn't find the reason for it in the code, so my question is if serializing would also work without std?

Ogeon commented 1 year ago

I think, if I remember correctly, the derive macros were using std for something, but it has been a while since I last checked. I'm happy to remove that requirement if it's no longer necessary, but it may perhaps be a 0.8 change. It would remove observable features for someone who only explicitly uses serializing. 🤔