You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while contributing to the shiplift crate, I ran into the problem of converting a Stream<Item = Chunk> into an AsyncReader so I could use the Framed / Decoder stuff from tokio-codec. After banging my head on it for a few days, I found your StreamReader implementation which works great, but I'd like to avoid copying/pasting it...
Given that it's not specific to ipfs, would you consider extracting it to its own crate, or ideally submitting it to the tokio project?
I'm happy to do some of the work if that helps.
The text was updated successfully, but these errors were encountered:
I'm a bit stretched for time right now, but, yes that would be awesome if you could submit it to the tokio project! I have had other people tell me they found that code useful too, so I'm sure it would be helpful to have it in tokio!
Hi,
while contributing to the shiplift crate, I ran into the problem of converting a
Stream<Item = Chunk>
into anAsyncReader
so I could use theFramed
/Decoder
stuff fromtokio-codec
. After banging my head on it for a few days, I found yourStreamReader
implementation which works great, but I'd like to avoid copying/pasting it...Given that it's not specific to ipfs, would you consider extracting it to its own crate, or ideally submitting it to the tokio project?
I'm happy to do some of the work if that helps.
The text was updated successfully, but these errors were encountered: