We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a382b95 commit b43d9bfCopy full SHA for b43d9bf
DESIGN.md
@@ -168,3 +168,14 @@ The syntax and semantics match rustc:
168
- rustc has unstable support for `@shell:<path>`
169
- Lines are read literal, empty lines are empty arguments and no comments
170
- Non-recursive
171
+
172
+## `json-write`
173
174
+### Decision: custom json writer
175
176
+The goal is to minimize build times. Switching from `serde_json` dropped out build times by an order of magnitude.
177
178
+Other libraries exist in this space but generally take on too much, e.g.
179
+- https://crates.io/crates/write-json: json-safe API
180
+- https://crates.io/crates/json-writer: also supports a more json-safe API
181
+- https://crates.io/crates/escape8259: only strings, also parses
0 commit comments