From 7dd12e8e7a244ea8211fbd9f89bd9fb11b9622a5 Mon Sep 17 00:00:00 2001 From: Jeff Petkau Date: Mon, 26 Jul 2021 10:13:58 -0700 Subject: [PATCH] Include "rand" in feature list for docs.rs Random support was gated by the "rand" feature in version 0.25.1, but not added to the docs.rs list, causing the gated functions to disappear from docs. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8f4c7876..d10db84a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -119,4 +119,4 @@ lto = true [package.metadata.docs.rs] # Enable certain features when building docs for docs.rs -features = [ "proptest-support", "compare", "macros" ] +features = [ "proptest-support", "compare", "macros", "rand" ]