mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-29 00:00:11 +02:00
test: re-export macro dependencies (#1077)
Callers may not always have `futures` available at the root of the crate. Re-exporting dependencies makes them available to the macro at a deterministic location.
This commit is contained in:
@@ -21,3 +21,10 @@ extern crate tokio_timer;
|
||||
pub mod clock;
|
||||
mod macros;
|
||||
pub mod task;
|
||||
|
||||
#[doc(hidden)]
|
||||
pub mod codegen {
|
||||
pub mod futures {
|
||||
pub use futures::*;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user