refactor: use streams for streaming responses #2

Merged
JasterV merged 1 commit from refactor/granc-core-proper-stream-handling into main 2026-03-24 00:44:30 +01:00
Owner

This PR is a continuation of: https://github.com/JasterV/granc/pull/59

At the time I implemented stream responses with a simple vector, but that is not ideal since it loads the whole stream in memory.

This improves that by using a boxed stream that can be returned to the caller for them to decide how to consume it.

This PR is a continuation of: https://github.com/JasterV/granc/pull/59 At the time I implemented stream responses with a simple vector, but that is not ideal since it loads the whole stream in memory. This improves that by using a boxed stream that can be returned to the caller for them to decide how to consume it.
JasterV force-pushed refactor/granc-core-proper-stream-handling from d37fac4676 to 43acb93dd1
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
2026-03-24 00:40:06 +01:00
Compare
JasterV deleted branch refactor/granc-core-proper-stream-handling 2026-03-24 00:44:35 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JasterV/granc!2
No description provided.