From 335ad1dd1d5bfa65e9a3174fcecd9e1fe871646d Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 5 Apr 2020 04:52:03 +0200 Subject: Enable feature flags in `docs.rs` --- futures/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'futures') diff --git a/futures/Cargo.toml b/futures/Cargo.toml index 869a30ba..3fe8719b 100644 --- a/futures/Cargo.toml +++ b/futures/Cargo.toml @@ -30,3 +30,7 @@ optional = true [target.'cfg(target_arch = "wasm32")'.dependencies] wasm-bindgen-futures = "0.4" + +[package.metadata.docs.rs] +rustdoc-args = ["--cfg", "docsrs"] +all-features = true -- cgit