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",
26 uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
27 url = "https://github.com/mozilla/rust/tree/master/src/libextra")];
29 #[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
30 html_favicon_url = "http://www.rust-lang.org/favicon.ico",
31 html_root_url = "http://static.rust-lang.org/doc/master")];
33 #[comment = "Rust extras"];
34 #[license = "MIT/ASL2"];
35 #[crate_type = "lib"]; // NOTE: remove after stage0 snapshot
36 #[crate_type = "rlib"];
37 #[crate_type = "dylib"];
39 #[feature(macro_rules, globs, managed_boxes)];
41 #[deny(non_camel_case_types)];
44 use std::str::{StrSlice, OwnedStr};
66 pub mod priority_queue;
75 // And ... other stuff
89 #[path="num/bigint.rs"]
91 #[path="num/rational.rs"]
93 #[path="num/complex.rs"]
107 // Compiler support modules
112 // A curious inner-module that's not exported that contains the binding
113 // 'extra' so that macro-expanded references to extra::serialize and such
114 // can be resolved within libextra.
120 // For bootstrapping.
122 pub use std::condition;
124 pub use std::unstable;