sticnarf / tokio-socks

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

Update for Tokio 0.3 #26

Closed KaranGauswami closed 3 years ago

KaranGauswami commented 3 years ago

Tokio 0.3 is now released.

I have tried to update version here KaranGauswami/tokio-socks in library but looks like This PR https://github.com/tokio-rs/tokio/pull/2919 temporary removed incoming method from tokio::net::TcpListener so currently tests are not compiling in new version.

error[E0599]: no method named `incoming` found for struct `tokio::net::TcpListener` in the current scope
  --> tests/common.rs:26:10
   |
26 |         .incoming()
   |          ^^^^^^^^ method not found in `tokio::net::TcpListener`