Skip to content

Commit

Permalink
Unset doc-scrape-examples for lib target
Browse files Browse the repository at this point in the history
False is the default value since Cargo PR 11499.
  • Loading branch information
dtolnay committed Feb 10, 2025
1 parent e067e71 commit 8f5c798
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
3 changes: 0 additions & 3 deletions gen/build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
3 changes: 0 additions & 3 deletions gen/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 8f5c798

Please sign in to comment.