2014-02-02 23:56:49 -06:00
|
|
|
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
|
|
|
|
// file at the top-level directory of this distribution and at
|
|
|
|
// http://rust-lang.org/COPYRIGHT.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
// except according to those terms.
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* Collection types.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#[crate_id = "collections#0.10-pre"];
|
|
|
|
#[crate_type = "rlib"];
|
|
|
|
#[crate_type = "dylib"];
|
|
|
|
#[license = "MIT/ASL2"];
|
2014-03-15 16:26:12 -05:00
|
|
|
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
|
|
|
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
|
|
|
html_root_url = "http://static.rust-lang.org/doc/master")];
|
2014-02-02 23:56:49 -06:00
|
|
|
|
2014-02-25 10:04:38 -06:00
|
|
|
#[feature(macro_rules, managed_boxes, default_type_params)];
|
|
|
|
|
|
|
|
// NOTE remove the following two attributes after the next snapshot.
|
|
|
|
#[allow(unrecognized_lint)];
|
|
|
|
#[allow(default_type_param_usage)];
|
2014-03-13 02:53:14 -05:00
|
|
|
#[allow(deprecated_owned_vector)];
|
2014-02-02 23:56:49 -06:00
|
|
|
|
2014-03-01 18:33:24 -06:00
|
|
|
extern crate rand;
|
|
|
|
|
2014-02-13 19:49:11 -06:00
|
|
|
#[cfg(test)] extern crate test;
|
2014-02-02 23:56:49 -06:00
|
|
|
|
|
|
|
pub use bitv::Bitv;
|
|
|
|
pub use btree::BTree;
|
|
|
|
pub use deque::Deque;
|
|
|
|
pub use dlist::DList;
|
2014-02-20 00:10:41 -06:00
|
|
|
pub use enum_set::EnumSet;
|
2014-02-19 21:29:58 -06:00
|
|
|
pub use hashmap::{HashMap, HashSet};
|
2014-02-02 23:56:49 -06:00
|
|
|
pub use list::List;
|
|
|
|
pub use lru_cache::LruCache;
|
|
|
|
pub use priority_queue::PriorityQueue;
|
|
|
|
pub use ringbuf::RingBuf;
|
|
|
|
pub use smallintmap::SmallIntMap;
|
|
|
|
pub use treemap::{TreeMap, TreeSet};
|
2014-02-19 21:29:58 -06:00
|
|
|
pub use trie::{TrieMap, TrieSet};
|
2014-02-02 23:56:49 -06:00
|
|
|
|
|
|
|
pub mod bitv;
|
|
|
|
pub mod btree;
|
|
|
|
pub mod deque;
|
|
|
|
pub mod dlist;
|
2014-02-20 00:10:41 -06:00
|
|
|
pub mod enum_set;
|
2014-02-19 21:29:58 -06:00
|
|
|
pub mod hashmap;
|
2014-02-02 23:56:49 -06:00
|
|
|
pub mod list;
|
|
|
|
pub mod lru_cache;
|
|
|
|
pub mod priority_queue;
|
|
|
|
pub mod ringbuf;
|
|
|
|
pub mod smallintmap;
|
2014-02-14 12:10:06 -06:00
|
|
|
pub mod treemap;
|
2014-02-19 21:29:58 -06:00
|
|
|
pub mod trie;
|