Skip to content

feat: a lot of codebase organisation - #100

Merged
Fleeym merged 8 commits into
mainfrom
organize-http
Oct 22, 2026
Merged

Fleeym merged 8 commits into
mainfrom
organize-http

Conversation

@Fleeym

@Fleeym Fleeym commented Oct 22, 2026

Copy link
Copy Markdown
Member

Partly LLM-aided, for the mechanical moving and import updates.

  • Create http module and move basically everything related there
  • Improve s3_worker logging by a lot
  • Rework cli module, now the whole binary is ran through it

Did a bit of refactoring here:

- Moved src/endpoints to src/http/endpoints
- Moved everything HTTP related to src/http
- Created separate functions for serve, create_app, cors
- Split router config across the separate endpoint modules
- remove cli::maybe_cli, replace with cli::run
- route everything through cli::run
- build app config after parsing args, so help can run without any deps
openapi will be generated with the crate version now
@Fleeym
Fleeym marked this pull request as ready for review October 22, 2026 22:06
@Fleeym
Fleeym merged commit ee04a04 into main Oct 22, 2026
2 checks passed
@Fleeym
Fleeym deleted the organize-http branch October 22, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant