forked from hlzhang/protosocks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (41 loc) · 1.11 KB
/
Cargo.toml
File metadata and controls
44 lines (41 loc) · 1.11 KB
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
44
[package]
name = "protosocks"
version = "0.7.0"
authors = ["hlzhang <hlzhang@users.noreply.github.com>"]
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 = { version = "1",features = ["serde"]}
byteorder = "1"
log = "0.4"
num-traits = "0.2"
num-derive = "0.3"
serde = "1"
serde_derive = "1"
smoltcp = { git = "https://github.com/sanjitako/smoltcp", default-features = false, features = [] }
snafu = "0.6.10"
[dev-dependencies]
lazy_static = "1.4.0"
pretty_env_logger = "0.4"
[features]
std = ["smoltcp/std"]
verbose = []
"proto-ipv4" = ["smoltcp/proto-ipv4"]
"proto-ipv6" = ["smoltcp/proto-ipv6"]
# `RUST_BACKTRACE=1 cargo test --lib --no-default-features --features default -- --exact --nocapture --test-threads=1`
default = [
"std",
"proto-ipv4", "proto-ipv6"
]