-
Notifications
You must be signed in to change notification settings - Fork 72
/
Cargo.toml
32 lines (28 loc) · 925 Bytes
/
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
[package]
name = "pcap2socks"
version = "0.6.2"
authors = ["Xie Zhihao <xzh1206@gmail.com>"]
edition = "2018"
description = "Redirect traffic to SOCKS proxy with pcap."
readme = "README.md"
repository = "https://github.com/zhxie/pcap2socks"
license = "MIT"
keywords = ["proxy", "pcap", "socks"]
categories = ["command-line-utilities", "network-programming"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-socks5 = "0.5.0"
clap = "2.33.1"
dns-lookup = "1.0.8"
env_logger = "0.9.0"
ipnetwork = "0.18.0"
log = "0.4.14"
lru = "0.6.6"
pnet = "0.28.0"
rand = "0.8.4"
structopt = "0.3.22"
tokio = { version = "1.9.0", features = ["rt", "rt-multi-thread", "io-util", "net", "time", "macros", "sync"] }
[target.'cfg(windows)'.dependencies]
netifs = { git = "https://github.com/zhxie/netifs-rs" }
[target.'cfg(not(windows))'.dependencies]
interfaces = "0.0.4"