diff --git a/Cargo.toml b/Cargo.toml index aee917c1..c1186158 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -85,3 +85,6 @@ bincode = "1.2.1" # RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --all-features --no-deps --open all-features = true rustdoc-args = ["--cfg", "doc_cfg"] + +[package.metadata.playground] +features = ["small_rng", "serde1"] diff --git a/rand_core/Cargo.toml b/rand_core/Cargo.toml index a53a1215..7f8a17d4 100644 --- a/rand_core/Cargo.toml +++ b/rand_core/Cargo.toml @@ -28,3 +28,6 @@ getrandom = { version = "0.2", optional = true } # RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --all-features --no-deps --open all-features = true rustdoc-args = ["--cfg", "doc_cfg"] + +[package.metadata.playground] +all-features = true