I'm guilty of this of course, just opening it up to an issue to track it better
Pr #514 causes a build error in Symfonia by changing pub theme_colors: Option<Vec<u8>>, to pub theme_colors: Option<Vec<u32>>,, since Vec<u8> can be encoded by Sqlx but Vec<u32> cannot.
An ideal solution to this would bring include a new type for theme colors, with a custom Sqlx encoding implementation. Note that the most accurate representation of theme colors is likely (u32, u32) or [u32; 2]
I'm guilty of this of course, just opening it up to an issue to track it better
Pr #514 causes a build error in Symfonia by changing
pub theme_colors: Option<Vec<u8>>,
topub theme_colors: Option<Vec<u32>>,
, sinceVec<u8>
can be encoded by Sqlx butVec<u32>
cannot.An ideal solution to this would bring include a new type for theme colors, with a custom Sqlx encoding implementation. Note that the most accurate representation of theme colors is likely
(u32, u32)
or[u32; 2]