From 365f674f6d8dbb2cd75c186d0c0daa794c89949a Mon Sep 17 00:00:00 2001 From: masklinn Date: Thu, 4 Apr 2024 18:10:26 +0200 Subject: [PATCH] Enable `serde` feature on playgrounds Playground metadata is explicitly inspired by docs.rs so looks very similar, was implemented at rust-lang/rust-playground#326 --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 44b0f7f..9892d9c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,3 +33,6 @@ tag-name = "{{version}}" [package.metadata.docs.rs] features = ["serde"] + +[package.metadata.playground] +features = ["serde"]