rust/src/librustdoc/html/render
Michael Howell 5b44bfda7f rustdoc-search: shard the search result descriptions
The descriptions are, on almost all crates[^1], the majority
of the size of the search index, even though they aren't really
used for searching. This makes it relatively easy to separate
them into their own files.

This commit also bumps us to ES8. Out of the browsers we support,
all of them support async functions according to caniuse.

https://caniuse.com/async-functions

[^1]:
    <https://microsoft.github.io/windows-docs-rs/>, a crate with
    44MiB of pure names and no descriptions for them, is an outlier
    and should not be counted.
2024-03-16 22:07:30 -07:00
..
context.rs Shorten some error invocations. 2024-01-10 07:33:06 +11:00
mod.rs rustdoc-search: shard the search result descriptions 2024-03-16 22:07:30 -07:00
print_item.rs fix polarity 2024-03-14 15:08:16 +01:00
search_index.rs rustdoc-search: shard the search result descriptions 2024-03-16 22:07:30 -07:00
sidebar.rs Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
span_map.rs hir: Remove fn opt_hir_id and fn opt_span 2024-02-07 09:38:24 +03:00
tests.rs Corrected imports for render tests and mod files 2021-03-04 10:25:00 -08:00
type_layout.rs clippy::complexity fixes 2023-12-12 19:28:13 +01:00
write_shared.rs rustdoc-search: shard the search result descriptions 2024-03-16 22:07:30 -07:00