try patching tracing

This commit is contained in:
2023-08-29 21:34:01 +02:00
parent 6ffab1de14
commit cad243123a
2 changed files with 18 additions and 1 deletions

13
rust/Cargo.lock generated
View File

@@ -1321,6 +1321,7 @@ dependencies = [
"tower", "tower",
"tower-http", "tower-http",
"tracing", "tracing",
"tracing-attributes 0.2.0",
"tracing-log", "tracing-log",
"tracing-opentelemetry", "tracing-opentelemetry",
"tracing-subscriber", "tracing-subscriber",
@@ -2394,7 +2395,7 @@ dependencies = [
"cfg-if", "cfg-if",
"log", "log",
"pin-project-lite", "pin-project-lite",
"tracing-attributes", "tracing-attributes 0.1.26",
"tracing-core", "tracing-core",
] ]
@@ -2409,6 +2410,16 @@ dependencies = [
"syn 2.0.29", "syn 2.0.29",
] ]
[[package]]
name = "tracing-attributes"
version = "0.2.0"
source = "git+https://github.com/miwig/tracing?branch=master#29146260fb4615d271d2e899ad95a753bb42915e"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.29",
]
[[package]] [[package]]
name = "tracing-core" name = "tracing-core"
version = "0.1.31" version = "0.1.31"

View File

@@ -59,6 +59,12 @@ features = ["trace", "request-id"]
[dependencies.tracing] [dependencies.tracing]
version = "0.1" version = "0.1"
[dependencies.tracing-attributes]
version = "=0.2.0"
[patch.crates-io]
tracing-attributes = { git = "https://github.com/miwig/tracing", branch = "master" }
[dependencies.tracing-subscriber] [dependencies.tracing-subscriber]
version = "0.3" version = "0.3"
features = ["json", "env-filter"] features = ["json", "env-filter"]