From a7b31d5c1513c1d96bf9861d48a87b83f03b28d2 Mon Sep 17 00:00:00 2001 From: Jose Daniel Hernandez Date: Wed, 17 May 2023 00:22:08 -0600 Subject: [PATCH] Update `tracing-subscriber` optional dependency Update `tracing-subscriber` optional dependency from version 0.2 to version 0.3. --- CHANGELOG.md | 1 + relations/Cargo.toml | 2 +- relations/src/r1cs/trace.rs | 7 ++++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd897f81b..00772856f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ### Features ### Improvements +- [\#373](https://github.com/arkworks-rs/snark/pull/373) Update `tracing-subscriber` dependency from 0.2 to 0.3. ### Bug fixes diff --git a/relations/Cargo.toml b/relations/Cargo.toml index 2729f8eb8..417a6b0b1 100644 --- a/relations/Cargo.toml +++ b/relations/Cargo.toml @@ -16,7 +16,7 @@ edition = "2021" ark-ff = { version = "0.4.0", default-features = false } ark-std = { version = "0.4.0", default-features = false } tracing = { version = "0.1", default-features = false } -tracing-subscriber = { version = "0.2", default-features = false, optional = true } +tracing-subscriber = { version = "0.3", default-features = false, optional = true } [dev-dependencies] ark-test-curves = { version = "0.4.0", default-features = false, features = [ "bls12_381_scalar_field" ] } diff --git a/relations/src/r1cs/trace.rs b/relations/src/r1cs/trace.rs index a5ce11be6..f378cd4eb 100644 --- a/relations/src/r1cs/trace.rs +++ b/relations/src/r1cs/trace.rs @@ -59,7 +59,12 @@ where /// Notifies this layer that a new span was constructed with the given /// `Attributes` and `Id`. - fn new_span(&self, _attrs: &span::Attributes<'_>, _id: &span::Id, _ctx: layer::Context<'_, S>) { + fn on_new_span( + &self, + _attrs: &span::Attributes<'_>, + _id: &span::Id, + _ctx: layer::Context<'_, S>, + ) { } #[allow(unsafe_code, trivial_casts)]