1 // Copyright 2012-2013 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.
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.
15 The `extra` crate is a set of useful modules for a variety of
16 purposes, including collections, numerics, I/O, serialization,
19 Rust extras are part of the standard Rust distribution.
23 #[link(name = "extra",
25 uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
26 url = "https://github.com/mozilla/rust/tree/master/src/libextra")];
28 #[comment = "Rust extras"];
29 #[license = "MIT/ASL2"];
30 #[crate_type = "lib"];
32 #[deny(non_camel_case_types)];
35 use std::str::{StrSlice, OwnedStr};
61 pub mod priority_queue;
70 #[path="crypto/cryptoutil.rs"]
72 #[path="crypto/digest.rs"]
74 #[path="crypto/sha1.rs"]
76 #[path="crypto/sha2.rs"]
79 // And ... other stuff
95 #[path="num/bigint.rs"]
97 #[path="num/rational.rs"]
99 #[path="num/complex.rs"]
110 #[path="terminfo/terminfo.rs"]
113 // Compiler support modules
118 // A curious inner-module that's not exported that contains the binding
119 // 'extra' so that macro-expanded references to extra::serialize and such
120 // can be resolved within libextra.
126 // For bootstrapping.
128 pub use std::condition;
131 pub use std::unstable;