From cad243123a2954234187272714c185db8fc4eec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Tue, 29 Aug 2023 21:34:01 +0200 Subject: [PATCH] try patching tracing --- rust/Cargo.lock | 13 ++++++++++++- rust/Cargo.toml | 6 ++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 542bd8e..7ca3cef 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -1321,6 +1321,7 @@ dependencies = [ "tower", "tower-http", "tracing", + "tracing-attributes 0.2.0", "tracing-log", "tracing-opentelemetry", "tracing-subscriber", @@ -2394,7 +2395,7 @@ dependencies = [ "cfg-if", "log", "pin-project-lite", - "tracing-attributes", + "tracing-attributes 0.1.26", "tracing-core", ] @@ -2409,6 +2410,16 @@ dependencies = [ "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]] name = "tracing-core" version = "0.1.31" diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 890b79e..e1b9922 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -59,6 +59,12 @@ features = ["trace", "request-id"] [dependencies.tracing] 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] version = "0.3" features = ["json", "env-filter"]