This repository has been archived by the owner on Jan 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
101 lines (75 loc) · 1.74 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[package]
name = "netlib"
version = "0.1.0"
edition = "2021"
description = ""
authors = [ "minghu6 <a19678zy@163.com>" ]
[dependencies]
libc = { version = "0.2", features = ["extra_traits"] }
ifstructs = "0.1.1"
ioctl = { version = "0.8", package = "ioctl-sys" }
getset = "0.1.2"
bincode = "1.3.3"
serde = { version = "1.0", features = ["derive"] }
serde-big-array = "0.4.1"
either = "~1.7"
# http
http = "0.2"
mime = "0.3.16"
cookie = "0.16"
encoding = "0.2.33"
dns-lookup = "1"
chrono = "0.4"
rand = "0.8.5"
maplit = "0.1.2"
regex = "1"
lazy_static = "1.4.0"
itertools = "0.10"
# Gateway discovery service
default-net = "0.11.0"
[dev-dependencies]
###################### Config Parser ######################
serde_yaml = "0.9"
########################## SYNC ##########################
crossbeam-channel = "0.5"
futures = { version = "0.3", features = ["thread-pool", "executor"] }
signal-hook = "0.3.14"
########################## CLI ##########################
clap = { version = "^3", features = ["derive"] }
clap_complete = "3.1.1"
shellexpand = "2.1"
########################## HTTP LIB ##########################
qstring = "0.7.2"
flate2 = "1.0"
# Logger
log = "0.4"
log4rs = { version = "1.1.1", features = ["background_rotation"] }
# helper coll
m6coll = "0.2"
[[example]]
name="tcp_server_r0"
path="bin/tcp_server_r0.rs"
[[example]]
name = "m6ping"
path = "bin/ping.rs"
[[example]]
name = "dos_icmp"
path = "bin/dos_icmp.rs"
[[example]]
name = "dos_tcp"
path = "bin/dos_tcp.rs"
[[example]]
name="tcp_client_r0"
path="bin/tcp_client_r0.rs"
[[example]]
name="tcp_client_c0"
path="bin/tcp_client_c0.rs"
[[example]]
name="shttpd"
path="bin/shttpd/main.rs"
[[example]]
name = "arp"
path = "bin/arp.rs"
[[example]]
name="sip"
path="bin/sip/main.rs"