diff options
author | Florian Klink <flokli@flokli.de> | 2023-02-16T15·49+0100 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-03-10T10·58+0000 |
commit | fbabcf0420bcc913971d529c11d58f6f888f1002 (patch) | |
tree | 95a338812a828232b7e7bf920d1ab0118fc70e58 /tvix/Cargo.nix | |
parent | 7fe7e03df32977da2bea7531a5142b24af971cf8 (diff) |
feat(tvix/store): add --json arg r/5924
This configures logging as JSON. Change-Id: I22cdda84de215bfceda4e9d47bc8d487a5451a6e Reviewed-on: https://cl.tvl.fyi/c/depot/+/8130 Tested-by: BuildkiteCI Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Diffstat (limited to 'tvix/Cargo.nix')
-rw-r--r-- | tvix/Cargo.nix | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix index fc3f945df342..4e9e42e47949 100644 --- a/tvix/Cargo.nix +++ b/tvix/Cargo.nix @@ -7885,6 +7885,30 @@ rec { }; resolvedDefaultFeatures = [ "log-tracer" "std" ]; }; + "tracing-serde" = rec { + crateName = "tracing-serde"; + version = "0.1.3"; + edition = "2018"; + sha256 = "1qfr0va69djvxqvjrx4vqq7p6myy414lx4w1f6amcn0hfwqj2sxw"; + authors = [ + "Tokio Contributors <team@tokio.rs>" + ]; + dependencies = [ + { + name = "serde"; + packageId = "serde"; + } + { + name = "tracing-core"; + packageId = "tracing-core"; + } + ]; + features = { + "valuable" = [ "valuable_crate" "valuable-serde" "tracing-core/valuable" ]; + "valuable-serde" = [ "dep:valuable-serde" ]; + "valuable_crate" = [ "dep:valuable_crate" ]; + }; + }; "tracing-subscriber" = rec { crateName = "tracing-subscriber"; version = "0.3.16"; @@ -7902,6 +7926,16 @@ rec { optional = true; } { + name = "serde"; + packageId = "serde"; + optional = true; + } + { + name = "serde_json"; + packageId = "serde_json"; + optional = true; + } + { name = "sharded-slab"; packageId = "sharded-slab"; optional = true; @@ -7928,6 +7962,11 @@ rec { usesDefaultFeatures = false; features = [ "log-tracer" "std" ]; } + { + name = "tracing-serde"; + packageId = "tracing-serde"; + optional = true; + } ]; devDependencies = [ { @@ -7962,7 +8001,7 @@ rec { "valuable-serde" = [ "dep:valuable-serde" ]; "valuable_crate" = [ "dep:valuable_crate" ]; }; - resolvedDefaultFeatures = [ "alloc" "ansi" "default" "fmt" "nu-ansi-term" "registry" "sharded-slab" "smallvec" "std" "thread_local" "tracing-log" ]; + resolvedDefaultFeatures = [ "alloc" "ansi" "default" "fmt" "json" "nu-ansi-term" "registry" "serde" "serde_json" "sharded-slab" "smallvec" "std" "thread_local" "tracing-log" "tracing-serde" ]; }; "try-lock" = rec { crateName = "try-lock"; @@ -8329,6 +8368,7 @@ rec { { name = "tracing-subscriber"; packageId = "tracing-subscriber"; + features = [ "json" ]; } ]; buildDependencies = [ |