mirror of
https://github.com/corn-config/corn.git
synced 2026-07-11 04:16:07 +01:00
[PR #39] [MERGED] Replace serde_yaml with serde_norway due to maintenance concerns #40
Labels
No labels
bug
bug
documentation
enhancement
enhancement
pull-request
tooling
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
corn-config/corn#40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/corn-config/corn/pull/39
Author: @puppymati
Created: 3/5/2025
Status: ✅ Merged
Merged: 3/5/2025
Merged by: @JakeStanger
Base:
master← Head:serde-yaml📝 Commits (1)
7134030Switch from serde_yaml to serde_norway📊 Changes
6 files changed (+21 additions, -21 deletions)
View changed files
📝
Cargo.lock(+15 -15)📝
corn-cli/Cargo.toml(+1 -1)📝
corn-cli/src/bin/corn.rs(+1 -1)📝
corn-cli/src/error.rs(+2 -2)📝
libcorn/Cargo.toml(+1 -1)📝
libcorn/tests/parser_tests.rs(+1 -1)📄 Description
serde_yaml has been deprecated and is no longer maintained. After evaluating alternatives, serde_norway appears to be the most actively maintained fork at present. While not perfect, it provides a more sustainable dependency than an unmaintained library.
The current YAML ecosystem in rust is rather bleak, with several alternatives having various drawbacks. For context on the situation:
In the longer term I am considering rolling my own lib, but this change should address the immediate concern.
Depends on #38
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.