From ddac2c75645f76f11ddcf23502f576cb201ab69c Mon Sep 17 00:00:00 2001 From: Lokathor Date: Fri, 24 Sep 2021 18:39:10 -0600 Subject: [PATCH] enable `std` feature in docs and playground. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3863c3d..13f7501 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,11 +50,11 @@ nightly_slice_partition_dedup = [] experimental_write_impl = [] [package.metadata.docs.rs] -features = ["alloc", "grab_spare_slice", "rustc_1_40", "rustc_1_55", "serde"] +features = ["alloc", "std", "grab_spare_slice", "rustc_1_40", "rustc_1_55", "serde"] rustdoc-args = ["--cfg","docs_rs"] [package.metadata.playground] -features = ["alloc", "grab_spare_slice", "rustc_1_40", "rustc_1_55", "serde"] +features = ["alloc", "std", "grab_spare_slice", "rustc_1_40", "rustc_1_55", "serde"] [profile.test] opt-level = 3