From fec0042eea412519f8a0e7bc4103ff1813683291 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Mon, 16 Dec 2019 11:57:48 -0800 Subject: [PATCH] make and util: enable optional features for docs.rs --- tower-make/Cargo.toml | 3 +++ tower-util/Cargo.toml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tower-make/Cargo.toml b/tower-make/Cargo.toml index 3605090..2cf4ea9 100644 --- a/tower-make/Cargo.toml +++ b/tower-make/Cargo.toml @@ -19,3 +19,6 @@ connect = ["tokio"] [dependencies] tower-service = "0.3" tokio = { version = "0.2", optional = true } + +[package.metadata.docs.rs] +features = ["connect"] diff --git a/tower-util/Cargo.toml b/tower-util/Cargo.toml index 215a643..24dc317 100644 --- a/tower-util/Cargo.toml +++ b/tower-util/Cargo.toml @@ -39,3 +39,6 @@ tokio-test = "0.2" tokio = { version = "0.2", features = ["stream", "sync", "macros"] } tower = { version = "0.3", path = "../tower" } tower-test = { version = "0.3", path = "../tower-test" } + +[package.metadata.docs.rs] +features = ["call-all"]