feat(nix-compat): allow parsing and emitting log lines
This adds code allowing to parse (and emit) the "internal-json" log format that Nixcpp emits. Move the Verbosity struct from worker_protocol.rs out into src/log/mod.rs, it's not only used there. Change-Id: Ia35e739c83e06080a677b576616bdd0d4a821cf4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/13167 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: Brian Olsen <me@griff.name> Reviewed-by: edef <edef@edef.eu>
This commit is contained in:
parent
a512f16424
commit
23a7ead71a
11 changed files with 409 additions and 64 deletions
|
|
@ -8285,6 +8285,7 @@ rec {
|
|||
{
|
||||
name = "pretty_assertions";
|
||||
packageId = "pretty_assertions";
|
||||
features = [ "unstable" ];
|
||||
}
|
||||
{
|
||||
name = "proptest";
|
||||
|
|
@ -8296,10 +8297,6 @@ rec {
|
|||
name = "rstest";
|
||||
packageId = "rstest";
|
||||
}
|
||||
{
|
||||
name = "serde_json";
|
||||
packageId = "serde_json";
|
||||
}
|
||||
{
|
||||
name = "smol_str";
|
||||
packageId = "smol_str";
|
||||
|
|
@ -9984,7 +9981,7 @@ rec {
|
|||
features = {
|
||||
"default" = [ "std" ];
|
||||
};
|
||||
resolvedDefaultFeatures = [ "default" "std" ];
|
||||
resolvedDefaultFeatures = [ "default" "std" "unstable" ];
|
||||
};
|
||||
"prettyplease" = rec {
|
||||
crateName = "prettyplease";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue