From 10e251b0aa8d5007862c62170de399db869c42db Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 23 Jul 2019 12:10:25 +0000 Subject: [PATCH] Bump log dependency to version 0.4.4. NFC. Since 0.4.4, log uses #[macro_export(local_inner_macros)], which is the right thing to do, but it breaks our CI because of a now-unused \#[macro_use(log)]. --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e215600..1ae094d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ autoexamples = false [dependencies] managed = { version = "0.7", default-features = false, features = ["map"] } byteorder = { version = "1.0", default-features = false } -log = { version = "0.4", default-features = false, optional = true } +log = { version = "0.4.4", default-features = false, optional = true } libc = { version = "0.2.18", optional = true } bitflags = { version = "1.0", default-features = false } diff --git a/src/lib.rs b/src/lib.rs index a336469..34c529c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -104,7 +104,7 @@ extern crate libc; #[cfg(feature = "alloc")] extern crate alloc; #[cfg(feature = "log")] -#[macro_use(log, trace, debug)] +#[macro_use(trace, debug)] extern crate log; use core::fmt;