lib.rs 1.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
// 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.
 */

15
#![crate_id = "collections#0.11.0-pre"]
16 17 18 19 20
#![crate_type = "rlib"]
#![crate_type = "dylib"]
#![license = "MIT/ASL2"]
#![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",
21
       html_root_url = "http://doc.rust-lang.org/")]
22

23
#![feature(macro_rules, managed_boxes, default_type_params, phase)]
24

25 26
#![deny(deprecated_owned_vector)]

27
extern crate rand;
28
extern crate debug;
29

L
Liigo Zhuang 已提交
30
#[cfg(test)] extern crate test;
31
#[cfg(test)] #[phase(syntax, link)] extern crate log;
32 33 34 35 36

pub use bitv::Bitv;
pub use btree::BTree;
pub use deque::Deque;
pub use dlist::DList;
37
pub use enum_set::EnumSet;
38
pub use hashmap::{HashMap, HashSet};
39 40 41 42 43
pub use lru_cache::LruCache;
pub use priority_queue::PriorityQueue;
pub use ringbuf::RingBuf;
pub use smallintmap::SmallIntMap;
pub use treemap::{TreeMap, TreeSet};
44
pub use trie::{TrieMap, TrieSet};
45 46 47 48 49

pub mod bitv;
pub mod btree;
pub mod deque;
pub mod dlist;
50
pub mod enum_set;
51
pub mod hashmap;
52 53 54 55
pub mod lru_cache;
pub mod priority_queue;
pub mod ringbuf;
pub mod smallintmap;
A
Alex Crichton 已提交
56
pub mod treemap;
57
pub mod trie;