]> git.lizzy.rs Git - rust.git/blob - src/libstd/std.rc
0a5348d79760ecf49b4779ecaf20a4a1862ab348
[rust.git] / src / libstd / std.rc
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.
4 //
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.
10
11 /*!
12
13 The Rust standard library.
14
15 The Rust standand library provides a number of useful features that are
16 not required in or otherwise suitable for the core library.
17
18 */
19
20 #[link(name = "std",
21        vers = "0.7-pre",
22        uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
23        url = "https://github.com/mozilla/rust/tree/master/src/libstd")];
24
25 #[comment = "The Rust standard library"];
26 #[license = "MIT/ASL2"];
27 #[crate_type = "lib"];
28
29 #[allow(vecs_implicitly_copyable)];
30 #[deny(non_camel_case_types)];
31 #[allow(deprecated_mutable_fields)];
32
33 pub mod uv_ll;
34
35 // General io and system-services modules
36
37 pub mod net;
38 pub mod net_ip;
39 pub mod net_tcp;
40 pub mod net_url;
41
42 // libuv modules
43 pub mod uv;
44 pub mod uv_iotask;
45 pub mod uv_global_loop;
46
47
48 // Utility modules
49
50 pub mod c_vec;
51 pub mod timer;
52 pub mod io_util;
53
54 // Concurrency
55
56 pub mod sync;
57 pub mod arc;
58 pub mod comm;
59 pub mod future;
60 pub mod task_pool;
61 pub mod flatpipes;
62
63 // Collections
64
65 pub mod bitv;
66 pub mod deque;
67 pub mod fun_treemap;
68 pub mod list;
69 pub mod priority_queue;
70 pub mod rope;
71 pub mod smallintmap;
72 pub mod sort;
73 pub mod dlist;
74 #[cfg(not(stage0))]
75 pub mod treemap;
76
77 // And ... other stuff
78
79 pub mod ebml;
80 pub mod dbg;
81 pub mod getopts;
82 pub mod json;
83 pub mod sha1;
84 pub mod md4;
85 pub mod tempfile;
86 pub mod term;
87 pub mod time;
88 pub mod arena;
89 pub mod par;
90 pub mod cmp;
91 pub mod base64;
92 pub mod rl;
93 pub mod workcache;
94 #[cfg(not(stage0))]
95 #[path="num/bigint.rs"]
96 pub mod bigint;
97 #[cfg(not(stage0))]
98 #[path="num/rational.rs"]
99 pub mod rational;
100 #[cfg(not(stage0))]
101 #[path="num/complex.rs"]
102 pub mod complex;
103 pub mod stats;
104 pub mod semver;
105 pub mod fileinput;
106
107 #[cfg(unicode)]
108 mod unicode;
109
110
111 // Compiler support modules
112
113 pub mod test;
114 pub mod serialize;
115
116 // A curious inner-module that's not exported that contains the binding
117 // 'std' so that macro-expanded references to std::serialize and such
118 // can be resolved within libcore.
119 #[doc(hidden)] // FIXME #3538
120 pub mod std {
121     pub use serialize;
122     pub use test;
123 }
124
125 // Local Variables:
126 // mode: rust;
127 // fill-column: 78;
128 // indent-tabs-mode: nil
129 // c-basic-offset: 4
130 // buffer-file-coding-system: utf-8-unix
131 // End: