Allow doing start-end RANGE requests against blobs
Addresses https://github.com/oras-project/rust-oci-client/issues/162
Oh damn sorry I thought this was compiling because I was pointing at my fork but I had a cached main 😖
@flavio I updated the implementation and added a test. During reimplementation I switch to using pull_blob_stream_partial and ran into an issue where VerifyingStream doesn't work when you get a partial response back (the digests will never match).
I'm not sure how this was working before? Let me know what you think :)
@thundergolfer thanks for having introduced the test case.
@thomastaylor312 can you take a quick look too?
Nice, thanks. Let me know if you need anything else before merge 👌
Sorry forgot to add context when I hit the submit button. This all looks good to me. One minor point around adding some clarification to the docs for a function around the security implications