From dda86b36a316d99b68bf99f0a1d5116e3c64624f Mon Sep 17 00:00:00 2001 From: Alexander Bushnev Date: Tue, 19 Mar 2024 17:31:44 +0100 Subject: [PATCH] Comment added --- Cargo.toml | 1 + io/zenoh-links/zenoh-link-vsock/Cargo.toml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index b7f73b4b5d..13b43c8a82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -152,6 +152,7 @@ tokio = { version = "1.35.1", default-features = false } # Default features are tokio-util = "0.7.10" tokio-tungstenite = "0.21" tokio-rustls = "0.25.0" +# tokio-vsock = see: io/zenoh-links/zenoh-link-vsock/Cargo.toml (workspaces does not support platform dependent dependencies) console-subscriber = "0.2" typenum = "1.16.0" uhlc = { version = "0.6.0", default-features = false } # Default features are disabled due to usage in no_std crates diff --git a/io/zenoh-links/zenoh-link-vsock/Cargo.toml b/io/zenoh-links/zenoh-link-vsock/Cargo.toml index c1bde48515..c9b451b5b9 100644 --- a/io/zenoh-links/zenoh-link-vsock/Cargo.toml +++ b/io/zenoh-links/zenoh-link-vsock/Cargo.toml @@ -38,5 +38,7 @@ zenoh-sync = { workspace = true } zenoh-util = { workspace = true } zenoh-runtime = { workspace = true } +# Workspaces does not support platform dependent dependencies, and +# tokio-vsock not compiled on other platforms, so we put it there [target.'cfg(target_os = "linux")'.dependencies] tokio-vsock = "0.5.0"