-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
43 lines (40 loc) · 1.08 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
42
43
[package]
name = "protosocks"
version = "0.7.0"
authors = ["hlzhang <[email protected]>"]
edition = "2018"
license-file = "LICENSE.md"
description = "Socks5 protocol lib in Rust (RFC1928 and RFC1929)"
homepage = "https://github.com/hlzhang/protosocks/"
repository = "https://github.com/hlzhang/protosocks/"
documentation = "https://docs.rs/protosocks"
readme = "README.md"
exclude = [
".circleci/*",
".gitignore",
".travis.yml",
".versionrc.js",
"ver",
]
[dependencies]
bytes = "0.5"
log = "0.4"
num-traits = "0.2"
num-derive = "0.3"
serde = "1.0"
serde_derive = "1.0"
#smolsocket = { version = "0.3", default-features = false }
smolsocket = { path = "../smolsocket", default-features = false }
smoltcp = { path = "../smoltcp", default-features = false }
snafu = "0.4.1"
[dev-dependencies]
lazy_static = "1.4.0"
pretty_env_logger = "0.3"
[features]
std = ["smolsocket/std", "smoltcp/std"]
"proto-ipv4" = ["smolsocket/proto-ipv4", "smoltcp/proto-ipv4"]
"proto-ipv6" = ["smolsocket/proto-ipv6", "smoltcp/proto-ipv6"]
default = [
"proto-ipv4", "proto-ipv6",
"std"
]