Files
rust/library/std_detect/src
Jonathan Brouwer 1b823bd424 Rollup merge of #159188 - Kobzol:rustdoc-json-private, r=Mark-Simulacrum
Always generate private and hidden items in JSON docs of the stdlib

This data is needed for downstream tools, e.g. cargo-semver-checks, to analyse the whole stdlib.

For the HTML output it is configurable using `build.library-docs-private-items`, but to avoid adding a separate config for just the JSON format, I think that we can just enable it unconditionally.

An alternative would be to change the flag from a bool to something like
```rust
enum StdDocsPrivateItems {
    No,
    Yes,
    Html,
    Json
}
```
2026-07-19 23:26:24 +02:00
..
2026-02-22 19:59:25 +01:00