You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is currently only used in report.rs to serialize a few strings to a file. The whole toml dependency is an overkill for this, just an additional dependency to be upgraded all the time.
String escaping could be reimplemented locally if you want to generate a valid TOML and not break compatibility, just escape the quotes and backslashes or something like this.
The text was updated successfully, but these errors were encountered:
Personally, I do not want to get into dealing with the correctness of doing string escaping with arbitrary content. This is with me being fairly familiar with the toml spec as I'm also the maintainer of toml and toml_edit. Cargo does this in select places (also a cargo team member) but its for very controlled text.
It is currently only used in
report.rs
to serialize a few strings to a file. The wholetoml
dependency is an overkill for this, just an additional dependency to be upgraded all the time.String escaping could be reimplemented locally if you want to generate a valid TOML and not break compatibility, just escape the quotes and backslashes or something like this.
The text was updated successfully, but these errors were encountered: