aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorTeddy Wing2021-06-07 01:22:39 +0200
committerTeddy Wing2021-06-07 01:25:00 +0200
commitde2d6a2ddf747cc7d5d370b69e26e8355b00f1d4 (patch)
treeeece39ad10565e2ddf4220deb85f7fe406b6ef68 /Cargo.lock
parent0da2cb98c759e59772a489b73e91164c6a8f5fe9 (diff)
downloadreflectub-de2d6a2ddf747cc7d5d370b69e26e8355b00f1d4.tar.bz2
Switch `futures::executor` to Tokio runtime
Use the Tokio runtime we created to run the blocking async tasks. Trying to set this up so I can get results back from the spawned tasks, but I'm currently having trouble working out how to extract them from the async task and return them from `run()`. I suppose I could just print out the errors directly in that `while let` loop, but ideally I'd like to return all errors from `run()` rather than printing in `run()`.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 183afd6..fe42006 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1056,6 +1056,7 @@ dependencies = [
"sqlx",
"thiserror",
"tokio",
+ "tokio-stream",
]
[[package]]