From 8e475f13c2f8abb80e4b5072e45bf3914f229db5 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 18 May 2024 21:06:37 -0700 Subject: [PATCH] Rely on docs.rs to define --cfg=docsrs by default --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4817ac7a1..4863c56d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,7 @@ doc-scrape-examples = false [package.metadata.docs.rs] features = ["preserve_order", "raw_value", "unbounded_depth"] targets = ["x86_64-unknown-linux-gnu"] -rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] +rustdoc-args = ["--generate-link-to-definition"] [package.metadata.playground] features = ["raw_value"]