2 ms·
If you're only dumping a string, couldn't you replace this dependency with some string concatenation?
by stavros 2y ago
If you're only dumping a string, couldn't you replace this dependency with some string concatenation?
- rnijveld 2y agoProbably, but we still need to parse that string on the client side as well. If you’re willing to do the work I’m sure we would accept a pull request for it! There’s just so many things to do in so little time unfortunately. I think reducing our dependencies is a good thing, but our dependencies for JSON parsing/writing are used so commonly in Rust and the way we use it hopefully prevents any major security issues that I don’t think this should be a high priority for us right now compared to the many things we could be doing.