v0.0.9
Serde YML (a fork of Serde YAML)
Release v0.0.9 - 2024-05-27
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
Release Note - Version 0.0.9
General
- Chore: Minor updates to dependencies were implemented.
- Documentation: Added logo and made minor tweaks for enhanced visual appeal.
- Fixed errors in
lib.rs
andsafe_cstr.rs
.
Features
- Added unit tests and updated
directory.rs
. - Implemented sorting of unit tests for macros.
Fixes
- Resolved the error related to the approximate value of
f{32, 64}::consts::PI
. - Fixed the error regarding the borrowed expression lacking required traits.
- Removed redundant slicing of the whole range.
Refactoring
- Improved backwards compatibility with old YAML boolean scalars.
Tests
- Reorganized the structure of
value
tests. - Added unit tests for
macro_partialeq_numeric
. - Added missing unit tests for
ser.rs
. - Expanded test coverage for
Tag
andTagFormatError
types. - Added tests for the
Mapping
struct inmapping.rs
. - Included unit tests for
macro_from_number.rs
. - Implemented unit tests for
macro_get_field
. - Added unit tests for the
macro_replace_placeholder
.
What's Changed
- v0.0.9 by @sebastienrousseau in #3
Full Changelog: 0.0.8...v0.0.9