From c2b9ed266e9525c73d0e8cb0c88eff7adaccfe37 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 31 Oct 2021 18:47:11 +0000 Subject: [PATCH] Update tracing-subscriber requirement from 0.2.1 to 0.3.1 (#283) Updates the requirements on [tracing-subscriber](https://github.com/tokio-rs/tracing) to permit the latest version. - [Release notes](https://github.com/tokio-rs/tracing/releases) - [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.1...tracing-subscriber-0.3.1) --- updated-dependencies: - dependency-name: tracing-subscriber dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.toml | 2 +- topo/benches/simple_calls.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 79d32987..25050569 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ tracing = "^0.1" [dev-dependencies] criterion = "0.3" -tracing-subscriber = "0.2.1" +tracing-subscriber = { version = "0.3.1", features = [ "env-filter" ] } [workspace] members = [ diff --git a/topo/benches/simple_calls.rs b/topo/benches/simple_calls.rs index 74ce3c5b..5364b187 100644 --- a/topo/benches/simple_calls.rs +++ b/topo/benches/simple_calls.rs @@ -20,12 +20,12 @@ fn call(c: &mut Criterion) { fn call_topo_fns_to_depth(b: &mut criterion::Bencher, depth: &usize) { macro_rules! mk { (go $depth_spec:ident) => { - b.iter(|| topo::call(|| mk!(pass $depth_spec 0))); + b.iter(|| topo::call(|| mk!(pass $depth_spec 0))) }; (pass $depth_spec:ident $call_depth:expr) => { topo::call(|| { mk!(cur $depth_spec ($call_depth + 1)); - }); + }) }; (cur twelve $depth:expr) => { mk!(pass eleven $depth);