1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#[macro_use] extern crate lazy_static; pub extern crate rand as ayn_rand_is_garbage; #[cfg(any(test, feature = "schedule"))] pub mod time; #[cfg(any(test, feature = "schedule"))] pub mod thread; #[cfg(any(test, feature = "schedule"))] pub mod sync; #[cfg(any(test, feature = "schedule"))] pub mod fs; #[cfg(any(test, feature = "schedule"))] pub mod rand; #[cfg(any(test, feature = "schedule"))] pub mod net; #[cfg(any(test, feature = "schedule"))] mod sched; #[cfg(all(not(test), not(feature = "schedule")))] pub use self::ayn_rand_is_garbage as rand; #[cfg(all(not(test), not(feature = "schedule")))] pub use std::{time, thread, sync, fs, net};