diff options
author | Teddy Wing | 2021-06-07 01:22:39 +0200 |
---|---|---|
committer | Teddy Wing | 2021-06-07 01:25:00 +0200 |
commit | de2d6a2ddf747cc7d5d370b69e26e8355b00f1d4 (patch) | |
tree | eece39ad10565e2ddf4220deb85f7fe406b6ef68 /Cargo.lock | |
parent | 0da2cb98c759e59772a489b73e91164c6a8f5fe9 (diff) | |
download | reflectub-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.lock | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1056,6 +1056,7 @@ dependencies = [ "sqlx", "thiserror", "tokio", + "tokio-stream", ] [[package]] |