<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/rustdoc-json-types, branch 1.85.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.85.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.85.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-12-01T21:39:58+00:00</updated>
<entry>
<title>rustdoc-json: Include safety of `static`s</title>
<updated>2024-12-01T21:39:58+00:00</updated>
<author>
<name>Alona Enraght-Moony</name>
<email>code@alona.page</email>
</author>
<published>2024-12-01T21:39:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f33dba028704d108497b8c06943b9bbc3d14c42b'/>
<id>urn:sha1:f33dba028704d108497b8c06943b9bbc3d14c42b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #131980 - matthiaskrgr:rollup-iy5nw71, r=matthiaskrgr</title>
<updated>2024-10-20T21:40:21+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2024-10-20T21:40:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7ed1a51b2587d7c4e7dd7192540e8be9eadea651'/>
<id>urn:sha1:7ed1a51b2587d7c4e7dd7192540e8be9eadea651</id>
<content type='text'>
Rollup of 5 pull requests

Successful merges:

 - #131814 (`optimize` attribute applied to things other than methods/functions/c…)
 - #131927 (Check for filecheck directives in files marked `skip-filecheck`)
 - #131967 (Remove `lower_mono_bounds`)
 - #131973 (fix(rustdoc-json-types): document rustc-hash feature)
 - #131976 (feat(rustdoc-json-types): mark simple enums as copy)

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Rollup merge of #131976 - jalil-salame:rustdoc-types-copy-enums, r=aDotInTheVoid</title>
<updated>2024-10-20T19:04:15+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-10-20T19:04:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4b658657da324253a201fc7baf70d106db5df7e0'/>
<id>urn:sha1:4b658657da324253a201fc7baf70d106db5df7e0</id>
<content type='text'>
feat(rustdoc-json-types): mark simple enums as copy

Fixes rust-lang/rustdoc-types#26 and some typos in the documentation

r? `@aDotInTheVoid`

I have been assigning these PRs to you `@aDotInTheVoid,` is that okay? I think I'm out of PRs for now, but for future reference c:
</content>
</entry>
<entry>
<title>fix(rustdoc-json-types): typos</title>
<updated>2024-10-20T17:01:36+00:00</updated>
<author>
<name>Jalil David Salamé Messina</name>
<email>jalil.salame@gmail.com</email>
</author>
<published>2024-10-20T16:57:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=afa75f0aa5c90b9ea7d4887f00aed7041104a853'/>
<id>urn:sha1:afa75f0aa5c90b9ea7d4887f00aed7041104a853</id>
<content type='text'>
Typos found some typos in the file, so I fixed them c:
</content>
</entry>
<entry>
<title>feat(rustdoc-json-types): mark simple enums as copy</title>
<updated>2024-10-20T17:01:36+00:00</updated>
<author>
<name>Jalil David Salamé Messina</name>
<email>jalil.salame@gmail.com</email>
</author>
<published>2024-10-20T16:55:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f04759165241a7c3445a88cb6a2a2ca575d94302'/>
<id>urn:sha1:f04759165241a7c3445a88cb6a2a2ca575d94302</id>
<content type='text'>
Fixes [rust-lang/rustdoc-types#26](https://github.com/rust-lang/rustdoc-types/issues/26)
</content>
</entry>
<entry>
<title>fix(rustdoc-json-types): document rustc-hash feature</title>
<updated>2024-10-20T16:31:29+00:00</updated>
<author>
<name>Jalil David Salamé Messina</name>
<email>jalil.salame@gmail.com</email>
</author>
<published>2024-10-20T16:28:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=880d565df1590b01ba9b7b38145692069d43f4cc'/>
<id>urn:sha1:880d565df1590b01ba9b7b38145692069d43f4cc</id>
<content type='text'>
The `rustc-hash` feature is publicly exposed by the `rustdoc-types`. It
is already documented in that crate's README and Cargo.toml, but we
might as well add some information to the crate docs themselves c:

Follow up to:
- #131936
- [rust-lang/rustdoc-types#42][1]

[1]: https://github.com/rust-lang/rustdoc-types/pull/42
</content>
</entry>
<entry>
<title>Update rustc-hash to version 2</title>
<updated>2024-10-20T07:12:49+00:00</updated>
<author>
<name>Noratrieb</name>
<email>48135649+Noratrieb@users.noreply.github.com</email>
</author>
<published>2024-08-24T22:31:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4348383a0ff68cb6c565341b7b848d9787f6d542'/>
<id>urn:sha1:4348383a0ff68cb6c565341b7b848d9787f6d542</id>
<content type='text'>
This brings in the new algorithm.
</content>
</entry>
<entry>
<title>feat(rustdoc-json-types): introduce rustc-hash feature</title>
<updated>2024-10-19T16:15:09+00:00</updated>
<author>
<name>Jalil David Salamé Messina</name>
<email>jalil.salame@gmail.com</email>
</author>
<published>2024-10-19T15:48:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1fa49b2e66c343210c413b68ed57f150b7b89d8'/>
<id>urn:sha1:d1fa49b2e66c343210c413b68ed57f150b7b89d8</id>
<content type='text'>
This allows the public `rustdoc-types` crate to expose this feature
easily and allows consumers of the crate to get the performance
advantages from doing so.

The reasoning for this was discussed on [Zulip][1]

Changes:
- Make `rustc-hash` optional but default to including it
- Rename all occurrences of `FxHashMap` to `HashMap`.
- Feature gate the import and rename the imported `FxHashMap` to
  `HashMap`
- Introduce a type alias `FxHashMap` which resolves to the currently
  used `HashMap` (`rustc_hash::FxHashMap` or
  `std::collections::HashMap`) for use in `src/librustdoc`.

[1]: https://rust-lang.zulipchat.com/#narrow/channel/266220-t-rustdoc/topic/rustc-hash.20and.20performance.20of.20rustdoc-types
</content>
</entry>
<entry>
<title>rustdoc-JSON: Rename "object safe" to "dyn compatible"</title>
<updated>2024-10-16T21:00:49+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2024-10-12T10:47:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2e6f3bd1d32455e535de1d9ee154253c333aec73'/>
<id>urn:sha1:2e6f3bd1d32455e535de1d9ee154253c333aec73</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #130078 - its-the-shrimp:rustdoc-types-compress-ids, r=aDotInTheVoid</title>
<updated>2024-10-11T21:53:46+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>t.gross35@gmail.com</email>
</author>
<published>2024-10-11T21:53:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=05c0591321f9956c1f0df4785d3737f40cffb598'/>
<id>urn:sha1:05c0591321f9956c1f0df4785d3737f40cffb598</id>
<content type='text'>
rustdoc-json: change item ID's repr from a string to an int

Following [this discussion on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/266220-t-rustdoc/topic/Optimizing.20the.20.60Id.60.20type.20in.20.60rustdoc-types.60), I've changed the repr of `rustdoc_json_types::Id` from a String to a u32, by adding a `clean::ItemId` interner to `JsonRenderer`

r? ``@aDotInTheVoid``
</content>
</entry>
</feed>
