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:
Carl Lerche
2019-05-03 20:43:40 -07:00
committed by GitHub
parent 4ef736b9d5
commit 951f2fd910
2 changed files with 21 additions and 8 deletions
+7
View File
@@ -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::*;
}
}