sticnarf/tokio-socks
 Watch    1
 Star    104
 Fork    50

tokio-socks

Build Status Crates Version docs

Asynchronous SOCKS proxy support for Rust.

Features

  • [x] CONNECT command
  • [x] BIND command
  • [ ] ASSOCIATE command
  • [x] Username/password authentication
  • [ ] GSSAPI authentication
  • [ ] Asynchronous DNS resolution
  • [X] Chain proxies (see example)
  • [X] SOCKS4

Compatibility with Other Async Runtimes

By default, the tokio feature is enabled, as the crate name suggests.

Users can opt out tokio by setting default-features = false. The *_with_socket functions accept types implementing the AsyncSocket trait.

The crate provides io::Compat that implements AsyncSocket for futures-io types (requiring the futures-io feature).

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

关于
Asynchronous SOCKS proxy support for Rust.
最后更新于  2026-06-18 22:17:00
License