chyh1990 / yaml-rust

A pure rust YAML implementation.
Apache License 2.0
601 stars 138 forks source link

Read This First ~ Switch to the actively maintained yaml-rust2 fork #200

Open davvid opened 5 months ago

davvid commented 5 months ago

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