aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 71f86e29b000d8b945c12ca658fb7e683adc82c5 (plain) (blame)
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
[package]
name = "wireguard"
version = "0.0.0"
authors = ["Jake McGinty <me@jake.su>"]
license = "GPL-3.0"
repository = "https://git.zx2c4.com/wireguard-rs/"
description = "Userspace implementation of WireGuard, a fast, modern and secure VPN tunnel."

[lib]
name = "wireguard"
path = "src/lib.rs"

[[bin]]
name = "wireguard-rs"
path = "src/main.rs"
required-features = ["binary"]

[features]
binary = [ "daemonize", "structopt", "structopt-derive", "fern", "chrono", "colored" ]

[profile.release]
debug = true

[dev-dependencies]
criterion = "0.2.0"

[[bench]]
name = "criterion"
harness = false

[dependencies]
base64 = "^0.5"
blake2-rfc = "0.2"
byteorder = "^1.2"
bytes = "0.4"
chacha20-poly1305-aead = "^0.1"
crossbeam = "^0.3"
crossbeam-channel = "^0.2"
derive_deref = "^1.0"
failure = "^0.1"
futures = "^0.1"
lazy_static = "^1"
libc = { git = "https://github.com/rust-lang/libc" }
log = "^0.4"
hex = "^0.3"
notify = "^4.0"
rand = "0.5.0-pre.2"
nix = { git = "https://github.com/mcginty/nix", branch = "ipv6-pktinfo" }
mio = "^0.6"
num_cpus = "1.0"
pnet_packet = "^0.21"
snow = { git = "https://github.com/mcginty/snow", branch = "wireguard" }
socket2 = "^0.3"
subtle = "^0.6"
tokio-io = "^0.1"
tokio-core = "^0.1"
tokio-uds = "^0.1"
tokio-utun = "^0.1.10"
tokio-signal = "^0.1"
tokio-timer = "^0.2"
treebitmap = "^0.2"
x25519-dalek = "0.2"

daemonize = { git = "https://github.com/mcginty/daemonize", optional = true }
chrono = { version = "^0.4", optional = true }
colored = { version = "^1.6", optional = true }
structopt = { version = "^0.1", optional = true }
structopt-derive = { version = "^0.1", optional = true }
fern = { version = "^0.5", features = ["colored"], optional = true }