[package] name = "hyper-socks2-mw" version = "0.4.4" authors = ["Arsenii Lyashenko "] license = "Apache-2.0 OR MIT" description = "A SOCKS5 connector for hyper library" repository = "https://github.com/mimblewimble/hyper-socks2-mw" documentation = "https://docs.rs/hyper-socks2-mw" readme = "README.md" keywords = ["hyper", "network", "ssl", "tls"] categories = ["authentication", "network-programming", "web-programming::http-client"] include = ["Cargo.toml", "LICENSE-*.md", "src/**/*"] edition = "2018" [badges] github-actions = { repository = "https://github.com/ark0f/hyper-socks2", workflow = "CI" } [dependencies] hyper = "0.13" async-socks5 = "0.3" futures = "0.3" tokio = "0.2" thiserror = "1.0" http = "0.2" # `tls` feature hyper-tls = { version = "0.4", optional = true } # `rustls` feature hyper-rustls = { version = "0.20", optional = true } rusttls = { package = "rustls", version = "0.17", optional = true } rustls-native-certs = { version = "0.3", optional = true } [dev-dependencies] tokio = { version = "0.2", features = ["macros"] } [features] default = ["tls"] tls = ["hyper-tls"] rustls = ["hyper-rustls", "rusttls", "rustls-native-certs"]