/src/libcollections/lib.rs

https://gitlab.com/anispy211/rust · Rust · 56 lines · 36 code · 8 blank · 12 comment · 0 complexity · de25dfc0ad4c990a0081b101c62461a0 MD5 · raw file

  1. // Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
  2. // file at the top-level directory of this distribution and at
  3. // http://rust-lang.org/COPYRIGHT.
  4. //
  5. // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
  6. // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
  7. // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
  8. // option. This file may not be copied, modified, or distributed
  9. // except according to those terms.
  10. /*!
  11. * Collection types.
  12. */
  13. #![crate_id = "collections#0.10-pre"]
  14. #![crate_type = "rlib"]
  15. #![crate_type = "dylib"]
  16. #![license = "MIT/ASL2"]
  17. #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
  18. html_favicon_url = "http://www.rust-lang.org/favicon.ico",
  19. html_root_url = "http://static.rust-lang.org/doc/master")]
  20. #![feature(macro_rules, managed_boxes, default_type_params, phase)]
  21. #![allow(visible_private_types)] // NOTE: remove after a stage0 snap
  22. extern crate rand;
  23. #[cfg(test)] extern crate test;
  24. #[cfg(test)] #[phase(syntax, link)] extern crate log;
  25. pub use bitv::Bitv;
  26. pub use btree::BTree;
  27. pub use deque::Deque;
  28. pub use dlist::DList;
  29. pub use enum_set::EnumSet;
  30. pub use hashmap::{HashMap, HashSet};
  31. pub use lru_cache::LruCache;
  32. pub use priority_queue::PriorityQueue;
  33. pub use ringbuf::RingBuf;
  34. pub use smallintmap::SmallIntMap;
  35. pub use treemap::{TreeMap, TreeSet};
  36. pub use trie::{TrieMap, TrieSet};
  37. pub mod bitv;
  38. pub mod btree;
  39. pub mod deque;
  40. pub mod dlist;
  41. pub mod enum_set;
  42. pub mod hashmap;
  43. pub mod lru_cache;
  44. pub mod priority_queue;
  45. pub mod ringbuf;
  46. pub mod smallintmap;
  47. pub mod treemap;
  48. pub mod trie;