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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#![cfg_attr(feature = "cargo-clippy", allow(new_without_default, new_without_default_derive))]
#![cfg_attr(feature = "cargo-clippy", allow(redundant_closure))]
#![cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))]
#![allow(unused_parens)]
extern crate bytes;
extern crate byteorder;
extern crate futures;
#[macro_use]
extern crate log;
#[macro_use]
extern crate nom;
#[macro_use]
extern crate cookie_factory;
extern crate sodiumoxide;
#[cfg(test)]
extern crate quickcheck;
extern crate tokio;
extern crate tokio_codec;
extern crate get_if_addrs;
extern crate parking_lot;
#[macro_use]
extern crate failure;
#[cfg(test)]
extern crate tokio_timer;
#[cfg(test)]
extern crate tokio_executor;
#[cfg(test)]
#[macro_use]
pub mod toxcore_tests {
extern crate rand;
mod crypto_core_tests;
}
#[warn(missing_docs)]
pub mod toxcore {
#[macro_use]
pub mod binary_io;
pub mod io_tokio;
pub mod crypto_core;
pub mod time;
pub mod state_format;
pub mod toxid;
pub mod tcp;
pub mod dht;
pub mod onion;
pub mod net_crypto;
pub mod utils;
pub mod friend_connection;
}
#[warn(missing_docs)]
pub mod toxencryptsave;
#[cfg(test)]
mod toxencryptsave_tests {
extern crate rand;
mod encryptsave_tests;
}