forked from ark0f/hyper-socks2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
41 lines (35 loc) · 1.2 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "hyper-socks2"
version = "0.6.0"
authors = ["Arsenii Lyashenko <[email protected]>"]
license = "Apache-2.0 OR MIT"
description = "A SOCKS5 connector for hyper library"
repository = "https://github.com/ark0f/hyper-socks2"
documentation = "https://docs.rs/hyper-socks2"
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.14"
async-socks5 = "0.5"
futures = "0.3"
tokio = "1.0"
thiserror = "1.0"
http = "0.2"
# `tls` feature
hyper-tls = { version = "0.5", optional = true }
# `rustls` feature
hyper-rustls = { version = "0.22", optional = true }
rusttls = { package = "rustls", version = "0.19", optional = true }
rustls-native-certs = { version = "0.5", optional = true }
[dev-dependencies]
hyper = { version = "0.14", features = ["http1"] }
tokio = { version = "1.0", features = ["macros"] }
[features]
default = ["tls"]
tls = ["hyper-tls"]
rustls = ["hyper-rustls", "rusttls", "rustls-native-certs"]