mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 15:55:14 +00:00
The geometry reader (craft_svg::paths) is the only part of the crate that needs vectorcraft-geom and vectorcraft-pathops, and the tree is the only part that needs craft-image-codecs. Both are now optional: paths is a default feature and tree turns it on, so existing users build the same crate, while an app that only needs SVG text, guards, path data, colours and the writer can turn default features off and take no app crates or image codecs. parse_color_alpha is parse_color keeping the alpha of #rgba, #rrggbbaa and the fourth value of rgb()/hsl(). parse_color now calls it and still drops it. Refs #778, #789