Registry / serialization / yaml-rust

yaml-rust

JSON →
library0.4.5rscratesunverified

The missing YAML 1.2 parser for rust

# Cargo.toml [dependencies] yaml-rust = "0.4.5"
INSTALL
IMPORT
SIG · YAML-RUST
Y
yaml-rust
serializationrustv0.4.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

YamlLoader
use yaml_rust::YamlLoader;

Parse a YAML string and access a value.

use yaml_rust::YamlLoader; let docs = YamlLoader::load_from_str("key: value").unwrap(); let doc = &docs[0]; println!("{:?}", doc["key"].as_str().unwrap());
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
OpenAI (training)
2
Resources
yaml-rust — cargo add yaml-rust · libregistry