Skip to content

Commit 4bb1575

Browse files
committed
Enable timers in the Tokio runtime
1 parent 9e6243a commit 4bb1575

File tree

1 file changed

+1
-0
lines changed
  • src/taskchampion-cpp/src

1 file changed

+1
-0
lines changed

src/taskchampion-cpp/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ impl From<tc::Error> for CppError {
309309

310310
fn rt() -> tokio::runtime::Handle {
311311
tokio::runtime::Builder::new_current_thread()
312+
.enable_time()
312313
.build()
313314
.unwrap()
314315
.handle()

0 commit comments

Comments
 (0)