-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (36 loc) · 964 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "virtual_gw"
version = "0.1.0"
authors = ["Jovi Hsu <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# tokios
tokio = {version="1.14.0", features=["full"]}
tokio-util = { version = "0.6", features = ["codec"], optional = true }
tokio-openssl = "0.6.3"
# network
bytes = { version = "1", optional = true }
byteorder = { version = "1", optional = true }
futures-core = { version = "0.3", optional = true }
packet = "0.1"
futures = "0.3"
openssl-sys = "0.9"
openssl = { version = "0.10", features = ["vendored"] }
etherparse = "0.10.1"
# tun/tap
tun = { git = "https://github.com/0e4ef622/rust-tun.git", features = ["async"], branch="fix_not_sock" }
# json
serde_json = "1"
# config
config = "0.11"
paste = "1"
# logs
log = "0.4.14"
env_logger = "0.9.0"
# arg
clap = "2.34.0"
[profile.dev]
opt-level = 0
[profile.release]
opt-level = 3