sticnarf / tokio-socks

Asynchronous SOCKS proxy support for Rust.
MIT License
68 stars 30 forks source link

Port to futures 0.3 and tokio 0.2.0 #10

Closed sdbondi closed 4 years ago

sdbondi commented 4 years ago

Ported this library to tokio 0.2.0-alpha and to use async/await syntax.

I didn't manage to upgrade the hyper example yet, but I added a quick example of usage with tor.

Hope this is of use to you :)

sticnarf commented 4 years ago

Version in Cargo.toml can be increase to 0.2

sdbondi commented 4 years ago

Thanks for the review - I've made the changes you suggested 🎉

sdbondi commented 4 years ago

@sticnarf Any chance this could be merged and released?

sticnarf commented 4 years ago

The dependencies need to be upgraded to the latest version. Also in the end I hope I can add the hyper example back.

sticnarf commented 4 years ago

@sdbondi Thanks very much!