palantir / conjure-rust

Conjure support for Rust
Apache License 2.0
20 stars 11 forks source link

Change {Async,}RequestBody::Streaming to store a boxed writer #259

Closed sfackler closed 10 months ago

sfackler commented 1 year ago

Requiring a borrowed request writer can be a bit limiting for {Async,}SerializeRequest implementations. It may be better to just pay the allocation cost and pass an owned writer in.