yaml-rust
yaml-rust copied to clipboard
tabs are not allowed as the first character of a block scalar
This results in an error:
let content = "
foo: |
\tthis line starts with a tab
";
let y = yaml_rust::YamlLoader::load_from_str(&content);
println!("{:#?}", y);
Other yaml parsers seem to parse this successfully