Skip to content

chore: replace serde_yaml with serde_norway - #8

Closed
daniel-white wants to merge 2 commits into
lmmx:masterfrom
daniel-white:chore/use-serde_norway
Closed

chore: replace serde_yaml with serde_norway#8
daniel-white wants to merge 2 commits into
lmmx:masterfrom
daniel-white:chore/use-serde_norway

Conversation

@daniel-white

Copy link
Copy Markdown

serde_yaml is long deprecated. serde_norway seems to be the modern and supported fork.

@lmmx

lmmx commented Jan 4, 2026

Copy link
Copy Markdown
Owner

Sorry I missed this come in and thanks for contributing

Oof, yes, you're right.

At first I thought dtolnay contributed to serde_norway too but reading comments like this I suspect it's an artifact of forking.

This post suggests to use yaml-rust2 but then that is marked as maintenance mode and suggests to use saphyr in turn...

saphyr seems to have better perf (from their crate README). It was also pushed to 6 days ago rather than a year ago, I'm getting the initial impression it's more maintained than norway. edit - confusingly serde-saphyr is not actually related to saphyr-rs/saphyr! Hmm...

@lmmx

lmmx commented Jan 4, 2026

Copy link
Copy Markdown
Owner

Yeah I like the look of this one, I'd use the actual name rather than aliasing it to serde_yaml though which could be confusing. It'll only need editing a handful of lines in 3 files to the new crate name. Going to close this in favour of a branch I'll put in now, thank you very much for the nudge though 😺

@lmmx

lmmx commented Jan 4, 2026

Copy link
Copy Markdown
Owner

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