cetra3 / mpart-async

Asynchronous Multipart Requests for Rust
Apache License 2.0
32 stars 13 forks source link

Upgrade bytes and tokio to 1.0 #17

Closed gferon closed 3 years ago

gferon commented 3 years ago

This MR upgrades tokio, bytes and pin-project to 1.0

cetra3 commented 3 years ago

Yep may make sense to leave this until warp is released. Until then, there is a failing rustfmt check you may need to sort out (by running cargo fmt)

koivunej commented 3 years ago

Did a minor optimization/touchup re: Buf::copy_to_bytes which replaced Buf::to_bytes and the cargo fmt in https://github.com/gferon/mpart-async/pull/1

koivunej commented 3 years ago

Just looking at the duplicate dependencies of rust-ipfs post-churn, I wonder if pin-project should be updated to the "1" at the same time? warp master and hyper 0.14 are depending on it already. Though, it might be a good idea to limit the stuff to update the same time, and in rust-ipfs there are other dependencies pulling it in as well.

cetra3 commented 3 years ago

warp has released 0.3 so feel free to update this PR

cetra3 commented 3 years ago

Published as version 0.5.0