-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement serde::Serialize
on AST
#143
Comments
Somewhat relatedly, it'd be great if the properties themselves implement Is this a feature that folks would accept in this project? If not, is there a recommended way to serialize this data without (hopefully) having to implement |
Yep, serde support would be great! |
Assuming you didn't start this @lucacasonato. If not I can probably do it this weekend. |
@devongovett I did start on this actually - I won't be able to push it up until Tuesday unfortunately though (the branch is on a different device). |
This would be very useful for the CSSOM implementation in Deno (also see #5). Many
cssparser
structs already haveserde::Serialize
implementations when you enable theserde
feature forcssparser
.If the binary size increase is too much, we can flag it with a crate feature.
I'll try to open a PR later this week.
The text was updated successfully, but these errors were encountered: