From 4bcb9b533208e9f10a25bf957b79ca584fa99576 Mon Sep 17 00:00:00 2001 From: Michael-F-Bryan Date: Tue, 11 Jul 2023 10:19:27 +0800 Subject: [PATCH] Enable tokio's "net" feature in the virtual-net crate --- lib/virtual-net/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/virtual-net/Cargo.toml b/lib/virtual-net/Cargo.toml index 17bb4e8c41c..8c2555a9526 100644 --- a/lib/virtual-net/Cargo.toml +++ b/lib/virtual-net/Cargo.toml @@ -14,7 +14,7 @@ thiserror = "1" bytes = "1.1" async-trait = { version = "^0.1" } tracing = "0.1" -tokio = { version = "1", features = [ "sync", "macros", "io-util", "signal" ], default_features = false, optional = true } +tokio = { version = "1", features = [ "sync", "macros", "io-util", "signal", "net" ], default_features = false, optional = true } libc = { version = "0.2.139", optional = true } [features]