Move to sigp fork of yaml-rust

This commit is contained in:
Paul Hauner
2019-05-14 16:56:13 +10:00
parent 1835ca8fd6
commit 123045f0a3
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ pub fn extract_yaml_by_index(yaml: &str, index: usize) -> String {
pub fn yaml_to_string(yaml: &Yaml) -> String {
let mut out_str = String::new();
let mut emitter = YamlEmitter::new(&mut out_str);
emitter.escape_all_strings(true);
emitter.dump(yaml).unwrap();
out_str