From a0bbdda1d30577cb461697ad5765cf4d0578c1a8 Mon Sep 17 00:00:00 2001 From: Kotauskas Date: Fri, 5 Mar 2021 13:39:05 +0300 Subject: [PATCH] Fixed examples not building without the nonblocking feature flag --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index ee8b11ae..4d69857d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,5 +35,13 @@ default = [] nonblocking = ["blocking", "futures"] doc_cfg = [] +[[example]] +name = "async_local_socket_client" +required-features = ["nonblocking"] + +[[example]] +name = "async_local_socket_server" +required-features = ["nonblocking"] + [package.metadata.docs.rs] features = ["doc_cfg"]