aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 625e830c2d3ec51641afac8de92493a5a1ec0772 (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
[package]
name = "wireguard-rs"
version = "0.1.4"
authors = ["Mathias Hall-Andersen <mathias@hall-andersen.dk>"]
edition = "2018"

[dependencies]
hex = "0.4"
spin = "0.5.2"
blake2 = "0.8"
log = { version = "0.4", features = ["max_level_trace", "release_max_level_info"] }
hmac = "0.7.1"
generic-array = "0.12.3"
zerocopy = "0.3"
byteorder = "1.3"
digest = "0.8.1"
arraydeque = "0.4.5"
hjul = "0.2.2"
ring = "0.16.7"
rand = "^0.7"
rand_core = "^0.5"
chacha20poly1305 = "^0.4"
aead = "^0.2"
clear_on_drop = "0.2.3"
env_logger = "0.7"
num_cpus = "^1.10"
crossbeam-channel = "0.4"
cpuprofiler = { version = "*", optional = true }

[dependencies.treebitmap]
git = "https://github.com/JakubOnderka/treebitmap"
rev = "207c371a501780a94a8cd375fe15f877b110d9e2"

[target.'cfg(unix)'.dependencies]
libc = "0.2"

[dependencies.x25519-dalek]
version = "^0.6"

[dependencies.subtle]
version = "2.1"
#features = ["nightly"]

[features]
profiler = ["cpuprofiler"]
start_up = []

[dev-dependencies]
pnet = "0.25.0"
proptest = "0.9.4"
rand_chacha = "0.2.1"