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 af12bda commit 076ac95
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ reqwest = { version = "0.12", features = ["blocking"] }
tar = "0.4.16"
walkdir = "2.3.2"

[lib]
doc-scrape-examples = false

[[bench]]
name = "rust"
harness = false
Expand Down
3 changes: 0 additions & 3 deletions json/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ serde_derive = { version = "1.0.88", optional = true }
[dev-dependencies]
serde_json = "1"

[lib]
doc-scrape-examples = false

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--generate-link-to-definition"]
Expand Down

0 comments on commit 076ac95

Please sign in to comment.