1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! JSON-lines [`OutputRenderer`] — replaces the former
//! `hm-plugin-output-json` WASM plugin. Serialises each
//! [`BuildEvent`] as a single JSON line.
use fmt;
use Write;
use BuildEvent;
use crateOutputRenderer;
/// Renders [`BuildEvent`]s as newline-delimited JSON (one object per
/// line). Suitable for piping into `jq` or other machine consumers.