sticnarf / tokio-socks

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

Allow to take arbitrary socket instead of address to estaplish connexion to proxy #20

Closed trinity-1686a closed 3 years ago

trinity-1686a commented 3 years ago

This is an attempt at solving both #5 and #19. Most code is here, but it lacks documentation, tests, and an example.

This does break compatibility as some types that were fixed are now parametrized, however I've mostly kept previous interface so that changes are actually minimal.

trinity-1686a commented 3 years ago

I think this is ready, but the CI is failing and I can't figure out why. Any insight is welcome. Also if you have some comments about something not being like you'd like, don't hesitate