linebender / kurbo

A Rust library for manipulating curves
Apache License 2.0
697 stars 67 forks source link

Add serde/schemars derive to Stroke, Join and Cap. #321

Closed ratmice closed 9 months ago

ratmice commented 10 months ago

This derives some traits for Stroke, friends. It enables the features schemars/smallvec, and serde/smallvec so that Dashes within Stroke derives JsonSchema/Serialize/Deserialize respectively. The impetus for this was that I was trying to add the same traits to peniko's Style.

ratmice commented 9 months ago

I think that your approval worked, at least it appears to be approved in the main PR queue. However I definitely do not have write access, so hopefully no-one is waiting for me to merge it. I'm not in any hurry though. I just wanted to note that in case the responsibility to merge is mine.

raphlinus commented 9 months ago

Just looking over open PRs, noticed these were still pending. Our general policy is that author merges, so I sent you an invite.