From 8f5c7982cef8e57b57c8062b6e353193add823ae Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 9 Feb 2025 17:52:31 -0800 Subject: [PATCH] Unset doc-scrape-examples for lib target False is the default value since Cargo PR 11499. --- Cargo.toml | 3 --- gen/build/Cargo.toml | 3 --- gen/lib/Cargo.toml | 3 --- 3 files changed, 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a4979576d..23c48eb59 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,9 +42,6 @@ trybuild = { version = "1.0.81", features = ["diff"] } [target.'cfg(any())'.build-dependencies] cxxbridge-cmd = { version = "=1.0.140", path = "gen/cmd" } -[lib] -doc-scrape-examples = false - [workspace] members = ["demo", "flags", "gen/build", "gen/cmd", "gen/lib", "macro", "tests/ffi"] diff --git a/gen/build/Cargo.toml b/gen/build/Cargo.toml index 51161b80e..9a9eb24c5 100644 --- a/gen/build/Cargo.toml +++ b/gen/build/Cargo.toml @@ -31,9 +31,6 @@ cxx = { version = "1.0", path = "../.." } cxx-gen = { version = "0.7", path = "../lib" } pkg-config = "0.3.27" -[lib] -doc-scrape-examples = false - [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] rustdoc-args = ["--generate-link-to-definition"] diff --git a/gen/lib/Cargo.toml b/gen/lib/Cargo.toml index 73c436e52..aca911eb1 100644 --- a/gen/lib/Cargo.toml +++ b/gen/lib/Cargo.toml @@ -18,9 +18,6 @@ proc-macro2 = { version = "1.0.74", default-features = false, features = ["span- quote = { version = "1.0.35", default-features = false } syn = { version = "2.0.46", default-features = false, features = ["clone-impls", "full", "parsing", "printing"] } -[lib] -doc-scrape-examples = false - [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] rustdoc-args = ["--generate-link-to-definition"]