about summary refs log tree commit diff
path: root/src/libcollections/lib.rs
diff options
context:
space:
mode:
authorHeroesGrave <heroesgrave@gmail.com>2014-02-03 18:56:49 +1300
committerHeroesGrave <heroesgrave@gmail.com>2014-02-07 19:49:26 +1300
commitd81bb441dae3bdb6760dcb0dc0fca2aceb561d24 (patch)
treeb719e6659bde57f21389527ca7f1531683b0245d /src/libcollections/lib.rs
parent87fe3ccf09fa16d662427ffdd7a846d72551a27f (diff)
downloadrust-d81bb441dae3bdb6760dcb0dc0fca2aceb561d24.tar.gz
rust-d81bb441dae3bdb6760dcb0dc0fca2aceb561d24.zip
moved collections from libextra into libcollections
Diffstat (limited to 'src/libcollections/lib.rs')
-rw-r--r--src/libcollections/lib.rs46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs
new file mode 100644
index 00000000000..417bf47803e
--- /dev/null
+++ b/src/libcollections/lib.rs
@@ -0,0 +1,46 @@
+// 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"];
+
+#[feature(macro_rules, managed_boxes)];
+
+#[cfg(test)] extern mod extra;
+
+extern mod serialize;
+
+pub use bitv::Bitv;
+pub use btree::BTree;
+pub use deque::Deque;
+pub use dlist::DList;
+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};
+
+pub mod bitv;
+pub mod btree;
+pub mod deque;
+pub mod dlist;
+pub mod list;
+pub mod lru_cache;
+pub mod priority_queue;
+pub mod ringbuf;
+pub mod smallintmap;
+pub mod treemap;
\ No newline at end of file