rust-lang / docs.rs

crates.io documentation generator
https://docs.rs
MIT License
956 stars 193 forks source link

migrate CDN & build_queue to SQLx #2492

Open syphar opened 2 months ago

syphar commented 2 months ago

Next block of migrations.

I intentionally kept the BuilldQueue methods sync so process_next_crate works seamlessly for now.

Apart from some small usages in the tests, the consistency check, this is the last piece of the sqlx migration. ( the PR for the rest is ready too).

I still don't like the amount of block_on in the tests, but that's a topic for more refactorings.

syphar commented 2 months ago

I discovered some more edge cases to fix