Asynchronous SOCKS proxy support for Rust.
- Rust 99%
- Shell 1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| examples | ||
| src | ||
| tests | ||
| .gitignore | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| LICENSE | ||
| README.md | ||
| rustfmt.toml | ||
tokio-socks
Asynchronous SOCKS proxy support for Rust.
Features
CONNECTcommandBINDcommandASSOCIATEcommand- 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.