Dear yaml-rust users,
Please consider switching to yaml-rust2.
yaml-rust2 is a fully compliant YAML 1.2 implementation written in pure Rust.
yaml-rust2 is based on yaml-rust with fixes towards being compliant to the YAML test suite.
Upgrading from yaml-rust
You can use yaml-rust2 as a drop-in replacement for the original yaml-rust crate.
[dependencies]
yaml-rust = { version = "0.8", package = "yaml-rust2" }
This Cargo.toml declaration allows you to refer to this crate as yaml_rust in your code.
use yaml_rust::{YamlLoader, YamlEmitter};
Links
Dear yaml-rust users,
Please consider switching to yaml-rust2.
yaml-rust2 is a fully compliant YAML 1.2 implementation written in pure Rust.
yaml-rust2 is based on
yaml-rustwith fixes towards being compliant to the YAML test suite.Upgrading from yaml-rust
You can use
yaml-rust2as a drop-in replacement for the originalyaml-rustcrate.This
Cargo.tomldeclaration allows you to refer to this crate asyaml_rustin your code.Links
yaml-rust2 source code repository
yaml-rust2 releases on crates.io
yaml-rust2 documentation on docs.rs
RUSTSEC-2024-0320