forked from ark0f/hyper-socks2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
40 lines (34 loc) · 1.17 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
[package]
name = "hyper-socks2-mw"
version = "0.4.4"
authors = ["Arsenii Lyashenko <arsenylyashenko.3@gmail.com>"]
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"]