From 09fa303ccc43a27a5fe8267e520bcf961ffe8f0c Mon Sep 17 00:00:00 2001 From: Burkhard Mittelbach Date: Thu, 20 Apr 2023 21:41:06 +0200 Subject: [PATCH] stream: add "full" feature flag Add "full" feature flag, that enables all other features. This is analog to tokio's "full" feature flag. --- tokio-stream/Cargo.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tokio-stream/Cargo.toml b/tokio-stream/Cargo.toml index 42f68cda31b..58fc411d194 100644 --- a/tokio-stream/Cargo.toml +++ b/tokio-stream/Cargo.toml @@ -18,6 +18,16 @@ categories = ["asynchronous"] [features] default = ["time"] + +full = [ + "time", + "net", + "io-util", + "fs", + "sync", + "signal" +] + time = ["tokio/time"] net = ["tokio/net"] io-util = ["tokio/io-util"]