Hi I am trying to port a project haystack library to rust and one part of it is to output a string to zinc format (a souped up CSV)
I have wrapped a string to HString and to implement to_zinc that string has to be output with c like escaping and double quotes.
The spec shows examples like
"foo\nbar\"(uses all standard escape chars as C like languages)
The file I am porting
I can port the java version easily but was wondering if there was a built in method that does this or crate. I can't seem to find one but it seems like a common thing.