-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
41 lines (35 loc) · 1.14 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
[package]
name = "minivtun-rs"
version = "0.1.9"
authors = ["optman <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["holepunch", "build-binary"]
holepunch = ["rndz"]
build-binary = ["daemonize", "clap", "env_logger"]
[dependencies]
tun = "0.7.3"
packet = "0.1.4"
libc = "0.2.164"
byteorder = "1.5.0"
thiserror = "2.0.3"
num_enum = "0.7.3"
ipnet = "2.10.1"
clap = { version = "2.33", optional = true }
rand = "0.8.5"
log = "0.4.22"
env_logger = { version = "0.11.5", optional = true }
daemonize = { version = "0.5.0", optional = true }
aes = { tag = "aes-v0.7.5", git = "https://github.com/RustCrypto/block-ciphers" }
block-modes = { tag = "aes-v0.7.5", git = "https://github.com/RustCrypto/block-ciphers" }
md-5 = { tag = "md5-v0.9.1", git = "https://github.com/RustCrypto/hashes" }
nix = { version = "0.29.0", features = ["socket"] }
rndz = { version = "0.1.5", optional = true, git = "https://github.com/optman/rndz" }
size = "0.4.1"
pretty-duration = "*"
[lib]
name = "minivtun"
[[bin]]
name = "minivtun-rs"
required-features = ["build-binary"]