Back to list

Crate splitting required for reasonable compile times fragmentizes code organization

6/10 Medium

Developers must split projects into many small crates to achieve reasonable compile times, since crates are compiled as single units and circular dependencies are allowed. This artificial fragmentation complicates project structure despite most code lacking true circular dependencies.

Category
build
Workaround
solid
Stage
build
Freshness
persistent
Scope
language
Upstream
open
Recurring
Yes
Buyer Type
team
Maintainer
active

Sources

Collection History

Query: “What are the most common pain points with Rust for developers in 2025?3/30/2026

for reasonable compile time you need to split projects into lots of small crates... crates are compiled as one compilation unit... most code doesn't actually have circular dependencies so why not make those opt-in?

Created: 3/30/2026Updated: 3/30/2026