aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
blob: 7ff0944c9f317a7bd21918d62346d3e510681162 (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
#![feature(ip_constructors)]
#![feature(try_trait)]
#![feature(test)]

#![cfg_attr(feature = "cargo-clippy", allow(doc_markdown))]
#![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))]
#![cfg_attr(feature = "cargo-clippy", allow(decimal_literal_representation))]

#[macro_use] extern crate failure;
#[macro_use] extern crate futures;
#[macro_use] extern crate lazy_static;
#[macro_use] extern crate log;
#[macro_use] extern crate tokio_core;

extern crate base64;
extern crate blake2_rfc;
extern crate byteorder;
extern crate bytes;
extern crate chacha20_poly1305_aead;
extern crate hex;
extern crate mio;
extern crate nix;
extern crate notify;
extern crate pnet_packet;
extern crate rand;
extern crate snow;
extern crate socket2;
extern crate subtle;
extern crate test;
extern crate tokio_io;
extern crate tokio_uds;
extern crate tokio_utun;
extern crate tokio_timer;
extern crate tokio_signal;
extern crate treebitmap;
extern crate x25519_dalek;

mod udp;

pub mod consts;
pub mod cookie;
pub mod error;
pub mod interface;
pub mod noise;
pub mod peer;
pub mod types;
pub mod anti_replay;
pub mod router;
pub mod time;
pub mod timer;
pub mod ip_packet;
pub mod xchacha20poly1305;