Skip to content

Conversation

@syphar
Copy link
Member

@syphar syphar commented Dec 12, 2025

This is a proposal how I could imagine dosc.rs split into workspaces. ( please ignore the commit messages :) )

I would love to get your feedback @GuillaumeGomez beforeI spend more time on this. Perhaps better to dig into this locally to get a feeling about the structure.

Compile time wise it's worlds, mostly when you're only working on one sub-crates. In any case you won't ever have to compile gix/crates-index/diff etc when you're just working on the builder or webserver. Also working on the watcher you'll not have to pay compile time for static assets ETag generation.

There is still optimization potential where some libraries could work with less dependencies

what's still to be done here:

  • test release / sqlx migrations
  • follow up & integrate the last changes from the main branch
  • fix consistency check
  • re-add CLI commands (not sure if all), some things perhaps into a separate CLI bin-crate, some things perhaps into the builder / watcher binaries.
  • uncomment & fix tests, probably with a test helper library.
  • i have an idea about a better split between the build-queue, and the builders
  • ( if we didn't migrate to ECS until then), perhaps create an additional legacy cratesfyi binary that acts as the old one.

@syphar syphar self-assigned this Dec 12, 2025
@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Dec 12, 2025
@syphar
Copy link
Member Author

syphar commented Dec 12, 2025

@GuillaumeGomez first design feedback? :)

( when you have time, not time critical )

@syphar syphar changed the title DRAFT/POC: ggproposal for splitting docs.rs into sub-crates / a workspace DRAFT/POC: proposal for splitting docs.rs into sub-crates / a workspace Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant