Skip to content
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

chore: Update ron to 0.9 #797

Merged
merged 1 commit into from
Jan 22, 2025
Merged

chore: Update ron to 0.9 #797

merged 1 commit into from
Jan 22, 2025

Conversation

Drakulix
Copy link
Member

Ron 0.9 has been in the works for years at this point (0.8 the latest stable was tagged in August 2023), but sadly has stalled quite a bit: ron-rs/ron#496

It adds a bunch of really nice features, like support for tagged or untagged enum variants, but more importantly it has a new RawValue type (similar to serde_json::RawValue), which allows us to address a few shortcomings like: pop-os/cosmic-settings-daemon#68

I say, lets bite the bullet and try the alpha-version of it. It seems remaining issues are only around #[serde(flatten), which we don't use: https://github.com/search?q=org%3Apop-os%20%23%5Bserde(flatten)%5D&type=code

@mmstick mmstick merged commit fdfd80f into master Jan 22, 2025
1 check passed
@mmstick mmstick deleted the ron-09 branch January 22, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants