cargo serde_yml 0.0.10
Serde YML 🦀 v0.0.10

latest releases: 0.0.12, 0.0.11
5 months ago

Release v0.0.10 - 2024-05-30

Serde YML (a fork of Serde YAML)

GitHub Crates.io Docs.rs Codecov Build Status

A Rust library for using the Serde serialization framework with data in YAML file format. This project, has been renamed to Serde YML to avoid confusion with the original Serde YAML crate which is now archived and no longer maintained.

Credits and Acknowledgements

This library is a continuation of the excellent work done by David Tolnay and the maintainers of the serde-yaml library.

While Serde YML started as a fork of serde-yaml, it has now evolved into a separate library with its own goals and direction in mind and does not intend to replace the original serde-yaml crate.

If you are currently using serde-yaml in your projects, we recommend carefully evaluating your requirements and considering the stability and maturity of the original library as well as looking at the features and improvements offered by other YAML libraries in the Rust ecosystem.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Changelog

What's Changed

Release Notes for v0.0.10

New Features

  • Unit Tests and Examples
    • Added comprehensive unit tests and examples for the following modules:
      • parser.rs
      • util.rs
      • path.rs
      • safe_cstr.rs
      • tag.rs
      • de.rs
      • index.rs
      • emitter.rs

Fixes

  • Bug Fixes
    • Destructuring in match Statements: Fixed an issue where match was used for destructuring a single pattern.

Documentation

  • Documentation Updates
    • Updated the documentation to reflect the latest changes.
    • Improved the clarity of existing documentation.
    • Prepared the documentation for the upcoming v0.0.10 release.

Refactoring

  • Code Refactoring
    • error.rs: Ongoing refactoring to improve the code structure and readability.
    • Examples and Tests: Made minor tweaks to existing examples and added new unit tests to ensure robustness and accuracy.
    • Library Dependencies: Updated dependencies for libyml to maintain compatibility and leverage the latest features.

What's Changed

Full Changelog: v0.0.9...v0.0.10

Don't miss a new serde_yml release

NewReleases is sending notifications on new releases.