From 0bfbd7ee71fa21e547c2e763d6a2de7eb0d5c5a2 Mon Sep 17 00:00:00 2001 From: Aram Peres Date: Sat, 31 Jul 2021 22:48:29 -0400 Subject: [PATCH] Add all-features to docs.rs --- nut-client/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nut-client/Cargo.toml b/nut-client/Cargo.toml index 81469a8..66145d7 100644 --- a/nut-client/Cargo.toml +++ b/nut-client/Cargo.toml @@ -26,10 +26,12 @@ default = [] ssl = ["rustls", "rustls/dangerous_configuration", "webpki", "webpki-roots"] async = ["tokio"] async-ssl = ["async", "tokio-rustls", "ssl"] - # a feature gate for examples async-rt = ["async", "tokio/rt-multi-thread", "tokio/macros"] [[example]] name = "async" required-features = ["async-rt"] + +[package.metadata.docs.rs] +all-features = true