Replace deprecated 'serde_yaml' with 'serde_yaml_ng' - #154
Conversation
|
Your link to the crate seems to be a 404. Perhaps you meant this repo. The maintainer doesn't appear to be that active on Github with their current profile activity and the repo having no new commits for 7 months. FWIW: Another alternative that has been getting praise is |
|
Good catch on the 404 — updated the link. On
Happy to open a follow-up issue to track a future |
|
I went with
Note in the PR (14) says:
The whereas serde_norway's deps match the
|
serde_yamlhas been deprecated and archived by dtolnay. This replaces it withserde_yaml_ng0.10, which is an API-compatible fork and the most widely adopted successor (~2.8M downloads).The other major fork,
serde_yml, was disqualified due to a soundness advisory and has also since been archived.All existing APIs used by Figment (
from_str,Value,Value::apply_merge(),Error) are identical inserde_yaml_ng, so this is a straightforward rename across 2 files.All tests pass with
--all-features(148 tests including theYamlExtendedmerge-key doctests).