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
#![feature(alloc)] #![feature(heap_api)] #![feature(iter_arith)] #![feature(non_ascii_idents)] #![feature(unique)] #![cfg_attr(test, feature(plugin))] #![no_std] #![cfg_attr(test, plugin(quickcheck_macros))] extern crate alloc; extern crate typenum; #[cfg(test)] extern crate quickcheck; #[cfg(test)] extern crate std; macro_rules! tryOpt { ($x: expr) => (match $x { None => { return None }, Some(x) => x }) } #[deprecated(since = "0.8.0", note = "moved to `collections`")] pub mod b_tree { pub use collections::b_tree::*; } #[deprecated(since = "0.8.0", note = "moved to `collections`")] pub mod hash_table { pub use collections::hash_table::*; } #[deprecated(since = "0.8.0", note = "moved to `collections`")] pub mod heap { pub use collections::heap::*; } #[deprecated(since = "0.8.0", note = "moved to `collections`")] pub mod vec { pub use collections::vec::*; } pub mod collections; pub mod io; pub mod rel; mod util;