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 #[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
29 html_favicon_url = "http://www.rust-lang.org/favicon.ico",
30 passes = "strip-hidden")];
32 #[comment = "Rust extras"];
33 #[license = "MIT/ASL2"];
34 #[crate_type = "lib"];
36 #[deny(non_camel_case_types)];
39 use std::str::{StrSlice, OwnedStr};
64 pub mod priority_queue;
73 #[path="crypto/cryptoutil.rs"]
75 #[path="crypto/digest.rs"]
77 #[path="crypto/md5.rs"]
79 #[path="crypto/sha1.rs"]
81 #[path="crypto/sha2.rs"]
84 // And ... other stuff
100 #[path="num/bigint.rs"]
102 #[path="num/rational.rs"]
104 #[path="num/complex.rs"]
117 #[path="terminfo/terminfo.rs"]
120 // Compiler support modules
125 // A curious inner-module that's not exported that contains the binding
126 // 'extra' so that macro-expanded references to extra::serialize and such
127 // can be resolved within libextra.
133 // For bootstrapping.
135 pub use std::condition;
138 pub use std::unstable;