tokio-socks

Crates.iotokio-socks
lib.rstokio-socks
version0.5.2
sourcesrc
created_at2019-01-30 12:06:58.956535
updated_at2024-07-27 16:16:03.24722
descriptionAsynchronous SOCKS proxy support for Rust.
homepagehttps://github.com/sticnarf/tokio-socks
repositoryhttps://github.com/sticnarf/tokio-socks
max_upload_size
id111584
size114,967
Yilin Chen (sticnarf)

documentation

https://docs.rs/tokio-socks

README

tokio-socks

Build Status Crates Version docs

Asynchronous SOCKS proxy support for Rust.

Features

  • CONNECT command
  • BIND command
  • ASSOCIATE command
  • Username/password authentication
  • GSSAPI authentication
  • Asynchronous DNS resolution
  • Chain proxies (see example)
  • 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

Commit count: 90

cargo fmt