rustdoc: Index crates progressively (#13011)
This PR updates the rustdoc indexing to be more progressive. Rather than waiting until we've crawled the entire crate to begin writing to the database, we instead start writing the docs as we go. This makes it so you can start getting completions while the indexing is still running. Release Notes: - N/A
This commit is contained in:
parent
0705fb9b97
commit
6181ac6bad
4 changed files with 31 additions and 40 deletions
|
@ -1,8 +1,9 @@
|
|||
pub mod crawler;
|
||||
mod indexer;
|
||||
mod item;
|
||||
mod store;
|
||||
mod to_markdown;
|
||||
|
||||
pub use crate::indexer::{DocsDotRsProvider, LocalProvider, RustdocSource};
|
||||
pub use crate::item::*;
|
||||
pub use crate::store::*;
|
||||
pub use crate::to_markdown::convert_rustdoc_to_markdown;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue