Adding yaml_rust library as a dependency

Run this command in a terminal, in your project's directory:

cargo add yaml-rust

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

yaml-rust = "0.4.5"

The yaml_rust library will be automatically available globally. Read the yaml_rust library documentation.

Back to the crate overview.