Skip to content

Commit daf94e3

Browse files
committed
enable time/io for tokio
1 parent bde41ef commit daf94e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ fn rt() -> Handle {
1515
RT.get_or_init(|| {
1616
tokio::runtime::Builder::new_multi_thread()
1717
.worker_threads(1)
18+
.enable_all()
1819
.build()
1920
.unwrap()
2021
})

0 commit comments

Comments
 (0)