This may be a long shot. In my project, I need to connect to a SMTP server via a SOCKS5 proxy. This PR adds this possibility.
I know that this might be adding maintenance for you, esp now with one new dependency (fast-socks5). If you close this PR, I totally understand, and I will just fork it and use my own fork.
Note: an idea to remove the fast-socks5 dep: Make NetworkStream a trait? It'll have Connector, fn shutdown(), fn peer_addr() etc.
This may be a long shot. In my project, I need to connect to a SMTP server via a SOCKS5 proxy. This PR adds this possibility.
I know that this might be adding maintenance for you, esp now with one new dependency (
fast-socks5
). If you close this PR, I totally understand, and I will just fork it and use my own fork.Note: an idea to remove the fast-socks5 dep: Make
NetworkStream
a trait? It'll haveConnector
,fn shutdown()
,fn peer_addr()
etc.