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)]