I'm experimenting with Rust Edition 2018. In Rust 2015 you use
#[macro_use]
extern crate log;
for importing macros. In Rust 2018 extern crate
is probably unidiomatic. Is there a way, to import all macros from the crate without extern crate
? For simple macros, importing it in the modules is fine, but complicated macros depend on several other macros, which is unhandy.