-
-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Labels
c-httpAffects the http crateAffects the http cratet-featureAddition of a new featureAddition of a new feature
Description
Instead of Response::models
being an async fn -> Result<Vec<T>, E>
it should return a type implementing Stream<Item = Result<T, E>>
and IntoFuture<Output = Result<Vec<T>, E>>
. This allows for lazy deserializing the response and potentially skip the (often unused) Vec
buffer.
Inspiration: https://github.com/abdolence/axum-streams-rs
Metadata
Metadata
Assignees
Labels
c-httpAffects the http crateAffects the http cratet-featureAddition of a new featureAddition of a new feature