mirror of
https://github.com/simonask/libyaml-safer
synced 2025-02-16 20:38:30 +00:00
Opt out -Zrustdoc-scrape-examples on docs.rs
I'd like a chance to audit all the code that rustdoc is inserting into the docs. Currently I am skeptical that showing unsafe-libyaml's internal usages of APIs is a net benefit to the public documentation. I am also skeptical that quite so many examples are needed, and that they should be featured so prominently in comparison to handwritten docs. Lastly I wish there were a way to turn this behavior off on a more granular basis.
This commit is contained in:
parent
b47a144ecd
commit
9bcfdc7997
1 changed files with 3 additions and 0 deletions
|
@ -16,5 +16,8 @@ rust-version = "1.56"
|
||||||
pretty_assertions = "1.0"
|
pretty_assertions = "1.0"
|
||||||
unsafe-libyaml-test-suite = { path = "tests/data" }
|
unsafe-libyaml-test-suite = { path = "tests/data" }
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
doc-scrape-examples = false
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
targets = ["x86_64-unknown-linux-gnu"]
|
targets = ["x86_64-unknown-linux-gnu"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue