chyh1990 / yaml-rust

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

Add API to emit YAML strings (i.e. `need_quotes` and `escape_str`) #175

Open LukasKalbertodt opened 3 years ago

LukasKalbertodt commented 3 years ago

It would be really handy if this logic was exposed from this library. Unfortunately, emitting a Yaml::String(s) will always add a --- at the start.