Browse Source

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 năm trước cách đây
mục cha
commit
61a42d4bf2
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;