From 6d8d388dc575896b39f5fa4134667b8ffa7f2fb7 Mon Sep 17 00:00:00 2001 From: Ivan Petkov Date: Sun, 18 Aug 2019 11:11:46 -0700 Subject: [PATCH] docs: add docs.rs metadata to build with all features (#1471) --- tokio-buf/Cargo.toml | 3 +++ tokio-codec/Cargo.toml | 3 +++ tokio-executor/Cargo.toml | 3 +++ tokio-fs/Cargo.toml | 3 +++ tokio-io/Cargo.toml | 3 +++ tokio-macros/Cargo.toml | 3 +++ tokio-net/Cargo.toml | 3 +++ tokio-process/Cargo.toml | 3 +++ tokio-sync/Cargo.toml | 3 +++ tokio-test/Cargo.toml | 3 +++ tokio-timer/Cargo.toml | 3 +++ tokio-tls/Cargo.toml | 3 +++ tokio/Cargo.toml | 3 +++ 13 files changed, 39 insertions(+) diff --git a/tokio-buf/Cargo.toml b/tokio-buf/Cargo.toml index 0c4105f14..1327e1d8a 100644 --- a/tokio-buf/Cargo.toml +++ b/tokio-buf/Cargo.toml @@ -29,3 +29,6 @@ either = { version = "1.5", optional = true} [dev-dependencies] tokio-mock-task = "0.1.1" + +[package.metadata.docs.rs] +all-features = true diff --git a/tokio-codec/Cargo.toml b/tokio-codec/Cargo.toml index 3c2c15396..350008997 100644 --- a/tokio-codec/Cargo.toml +++ b/tokio-codec/Cargo.toml @@ -32,3 +32,6 @@ tokio = { version = "0.2.0-alpha.1", path = "../tokio" } tokio-test = { version = "0.2.0-alpha.1", path = "../tokio-test" } futures-util-preview = "=0.3.0-alpha.18" + +[package.metadata.docs.rs] +all-features = true diff --git a/tokio-executor/Cargo.toml b/tokio-executor/Cargo.toml index 13f3e2fdc..ba2310134 100644 --- a/tokio-executor/Cargo.toml +++ b/tokio-executor/Cargo.toml @@ -58,3 +58,6 @@ tokio-test = { version = "0.2.0-alpha.1", path = "../tokio-test" } futures-core-preview = "=0.3.0-alpha.18" rand = "0.7" + +[package.metadata.docs.rs] +all-features = true diff --git a/tokio-fs/Cargo.toml b/tokio-fs/Cargo.toml index 121c657d6..32f088009 100644 --- a/tokio-fs/Cargo.toml +++ b/tokio-fs/Cargo.toml @@ -33,3 +33,6 @@ tokio = { version = "0.2.0-alpha.1", path = "../tokio" } rand = "0.7" tempfile = "3" + +[package.metadata.docs.rs] +all-features = true diff --git a/tokio-io/Cargo.toml b/tokio-io/Cargo.toml index 7b448455b..c4a58ba67 100644 --- a/tokio-io/Cargo.toml +++ b/tokio-io/Cargo.toml @@ -34,3 +34,6 @@ tokio = { version = "0.2.0-alpha.1", path = "../tokio" } tokio-test = { version = "0.2.0-alpha.1", path = "../tokio-test" } futures-util-preview = "=0.3.0-alpha.18" + +[package.metadata.docs.rs] +all-features = true diff --git a/tokio-macros/Cargo.toml b/tokio-macros/Cargo.toml index 800967483..afb771cdb 100644 --- a/tokio-macros/Cargo.toml +++ b/tokio-macros/Cargo.toml @@ -30,3 +30,6 @@ syn = { version = "1", features = ["full"] } [dev-dependencies] tokio = { version = "0.2.0-alpha.1", path = "../tokio", default-features = false, features = ["rt-full"] } + +[package.metadata.docs.rs] +all-features = true diff --git a/tokio-net/Cargo.toml b/tokio-net/Cargo.toml index cd4666b6c..d0688bfec 100644 --- a/tokio-net/Cargo.toml +++ b/tokio-net/Cargo.toml @@ -89,3 +89,6 @@ tokio-io-pool = "0.1.4" # UDS tests tempfile = "3" futures-preview = "=0.3.0-alpha.18" + +[package.metadata.docs.rs] +all-features = true diff --git a/tokio-process/Cargo.toml b/tokio-process/Cargo.toml index e75433ef6..34c01faf7 100644 --- a/tokio-process/Cargo.toml +++ b/tokio-process/Cargo.toml @@ -56,3 +56,6 @@ libc = "0.2" log = "0.4" mio = "0.6.5" tokio-net = { version = "=0.2.0-alpha.2", path = "../tokio-net", features = ["signal"] } + +[package.metadata.docs.rs] +all-features = true diff --git a/tokio-sync/Cargo.toml b/tokio-sync/Cargo.toml index cf0cea9ba..134cb6a45 100644 --- a/tokio-sync/Cargo.toml +++ b/tokio-sync/Cargo.toml @@ -34,3 +34,6 @@ tokio-test = { version = "0.2.0-alpha.1", path = "../tokio-test" } env_logger = { version = "0.6", default-features = false } loom = { version = "0.2.1", features = ["futures"] } + +[package.metadata.docs.rs] +all-features = true diff --git a/tokio-test/Cargo.toml b/tokio-test/Cargo.toml index 2a7fb83e7..dc7c82125 100644 --- a/tokio-test/Cargo.toml +++ b/tokio-test/Cargo.toml @@ -31,3 +31,6 @@ pin-convert = "0.1.0" [dev-dependencies] futures-util-preview = "=0.3.0-alpha.18" + +[package.metadata.docs.rs] +all-features = true diff --git a/tokio-timer/Cargo.toml b/tokio-timer/Cargo.toml index 5cfa931e7..78a493196 100644 --- a/tokio-timer/Cargo.toml +++ b/tokio-timer/Cargo.toml @@ -41,3 +41,6 @@ tokio-sync = { version = "0.2.0-alpha.1", path = "../tokio-sync", features = ["a tokio-test = { version = "0.2.0-alpha.1", path = "../tokio-test" } rand = "0.7" + +[package.metadata.docs.rs] +all-features = true diff --git a/tokio-tls/Cargo.toml b/tokio-tls/Cargo.toml index 746f187d1..0133b6cd3 100644 --- a/tokio-tls/Cargo.toml +++ b/tokio-tls/Cargo.toml @@ -58,3 +58,6 @@ features = [ "wincrypt", "winerror", ] + +[package.metadata.docs.rs] +all-features = true diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 427f8bff0..75e117246 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -87,3 +87,6 @@ num_cpus = "1.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" time = "0.1" + +[package.metadata.docs.rs] +all-features = true