tools: add tokio::main() replacement

to deal with block_on() not allowing blocking()

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2019-09-03 11:16:29 +02:00
parent 66fbf5bad0
commit daef93f481
3 changed files with 24 additions and 9 deletions

View File

@ -22,6 +22,7 @@ pub mod borrow;
pub mod daemon;
pub mod fs;
pub mod futures;
pub mod runtime;
pub mod ticket;
pub mod timer;
pub mod tty;