瀏覽代碼

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)].
whitequark 5 年之前
父節點
當前提交
61a42d4bf2
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Cargo.toml
  2. 1 1
      src/lib.rs

+ 1 - 1
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 }
 

+ 1 - 1
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;