Skip to content

Commit

Permalink
Merge pull request #1136 from dtolnay/docsrs
Browse files Browse the repository at this point in the history
Rely on docs.rs to define --cfg=docsrs by default
  • Loading branch information
dtolnay committed May 19, 2024
2 parents 0ae247c + 8e475f1 commit 62839b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 62839b7

Please sign in to comment.