-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.12.0: pull_blob_stream
result does not implement Stream
#157
Comments
I just realized that the |
Ah yep I must have missed that in review. I thought about requiring it to impl Stream, but felt like overkill at the time (because we'd done a bunch of back and forth on the PR). I can update doc string and maybe I'll just implement stream on it while I'm there 😆 |
thomastaylor312
added a commit
to thomastaylor312/oci-distribution
that referenced
this issue
Aug 12, 2024
This impls a simple passthrough stream implementation for `SizedStream`. It also updates the doc to show how you can use the stream directly. Fixes oras-project#157 Signed-off-by: Taylor Thomas <taylor@cosmonic.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The return type changed from
impl Stream
toSizedStream
, which does not implementStream
.Works in v0.11.0:
Fails in v0.12.0 with
the trait Stream is not implemented for SizedStream
The text was updated successfully, but these errors were encountered: