#![cfg_attr(feature = "clippy", feature(plugin))]
#![cfg_attr(feature = "clippy", plugin(clippy))]
#![cfg_attr(feature = "clippy", allow(doc_markdown))]
#![cfg_attr(feature = "clippy", allow(useless_format))]
#![cfg_attr(feature = "clippy", allow(new_without_default, new_without_default_derive))]
#![cfg_attr(feature = "clippy", allow(redundant_closure))]
#![cfg_attr(feature = "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)]
#[macro_use]
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;
}
#[warn(missing_docs)]
pub mod toxencryptsave;
#[cfg(test)]
mod toxencryptsave_tests {
extern crate rand;
mod encryptsave_tests;
}