From 2799e0464af38b29eeeb5890d6cc4a96ea0e5ed3 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 26 Jun 2022 20:30:43 -0400 Subject: [PATCH] async --- Cargo.lock | 1 + veilid-cli/Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f8b5efa6..be457c5c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1210,6 +1210,7 @@ name = "cursive" version = "0.18.0" dependencies = [ "ahash", + "async-std", "cfg-if 1.0.0", "crossbeam-channel", "crossterm", diff --git a/veilid-cli/Cargo.toml b/veilid-cli/Cargo.toml index 9f8aed9b..49de2989 100644 --- a/veilid-cli/Cargo.toml +++ b/veilid-cli/Cargo.toml @@ -11,10 +11,10 @@ name = "veilid-cli" path = "src/main.rs" [target.'cfg(unix)'.dependencies] -cursive = { path = "../external/cursive/cursive", default-features = false, features = ["ncurses-backend", "toml"]} +cursive = { path = "../external/cursive/cursive", default-features = false, features = ["ncurses-backend", "toml", "rt-async-std"]} [target.'cfg(not(unix))'.dependencies] -cursive = { path = "../external/cursive/cursive", default-features = false, features = ["crossterm-backend", "toml"]} +cursive = { path = "../external/cursive/cursive", default-features = false, features = ["crossterm-backend", "toml", "rt-async-std"]} [dependencies] async-std = { version = "^1.9", features = ["unstable", "attributes"] }