From 58c0aca6cc0e39d22156958fcdbd7885102c5fa0 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Perennou Date: Wed, 19 Aug 2020 13:37:43 +0200 Subject: [PATCH] update femme Signed-off-by: Marc-Antoine Perennou --- Cargo.toml | 2 +- examples/logging.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 71b031f5..a97f402f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -100,7 +100,7 @@ features = ["rt-threaded"] optional = true [dev-dependencies] -femme = "1.3.0" +femme = "2.1.1" rand = "0.7.3" tempdir = "0.3.7" futures = "0.3.4" diff --git a/examples/logging.rs b/examples/logging.rs index bd55aaa0..0e4526b3 100644 --- a/examples/logging.rs +++ b/examples/logging.rs @@ -3,7 +3,7 @@ use async_std::task; fn main() { - femme::start(log::LevelFilter::Trace).unwrap(); + femme::with_level(log::LevelFilter::Trace); task::block_on(async { let handle = task::spawn(async {