From 59e33f4ef162b21fbf9e4404629a9c2955ffd423 Mon Sep 17 00:00:00 2001 From: Gabriele Baldoni Date: Tue, 17 Sep 2024 09:16:03 +0200 Subject: [PATCH] deps: added explict async-std dependency to force rest-plugin with a tokio runtime Signed-off-by: Gabriele Baldoni --- Cargo.lock | 2 ++ plugins/zenoh-plugin-rest/Cargo.toml | 1 + 2 files changed, 3 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index a0dfcf8ec4..c0e2601795 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -333,6 +333,7 @@ dependencies = [ "blocking", "futures-lite 2.0.0", "once_cell", + "tokio", ] [[package]] @@ -5756,6 +5757,7 @@ name = "zenoh-plugin-rest" version = "1.0.0-dev" dependencies = [ "anyhow", + "async-std", "base64 0.22.1", "clap", "flume", diff --git a/plugins/zenoh-plugin-rest/Cargo.toml b/plugins/zenoh-plugin-rest/Cargo.toml index ce1385034a..1c83711a08 100644 --- a/plugins/zenoh-plugin-rest/Cargo.toml +++ b/plugins/zenoh-plugin-rest/Cargo.toml @@ -32,6 +32,7 @@ name = "zenoh_plugin_rest" crate-type = ["cdylib", "rlib"] [dependencies] +async-std = { version = "1.6.5", features = ["tokio1"] } anyhow = { workspace = true, features = ["default"] } base64 = { workspace = true } flume = { workspace = true }