uv team split one giant crate into 14, cutting incremental Rust build times by 30-43%

charliermarsh · x · 2026-10-15

uv author Charlie Marsh explains that Cargo compiles independent crates in parallel and skips unaffected ones, so the team split uv's primary crate (46k LOC) into 14 crates (6k each), speeding up incremental builds by 30-40%. Benchmarks across seven historical changes show 30-43% less rebuild time (e.g. Project sync 12.07s → 6.92s). Splitting giant crates along functional boundaries is a low-risk, high-payoff build optimization for large Rust projects.

Related event: uv Split Into 14 Crates, Cutting Incremental Build Time 30–43%(3 posts)→

Original post →

More from coding & agent

coding & agent channel →