From fb7b6ea7ea8864a41e78378ca0555ce3f1dd8965 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 14 Mar 2023 00:33:41 -0700 Subject: [PATCH] Enable serde derive feature when built by docs.rs --- serde/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/serde/Cargo.toml b/serde/Cargo.toml index d7d04f423..92161ed4e 100644 --- a/serde/Cargo.toml +++ b/serde/Cargo.toml @@ -27,6 +27,7 @@ doc-scrape-examples = false features = ["derive", "rc"] [package.metadata.docs.rs] +features = ["derive"] targets = ["x86_64-unknown-linux-gnu"]