162 lines
2.6 KiB
Plaintext
162 lines
2.6 KiB
Plaintext
/*!
|
|
|
|
The Rust standard library.
|
|
|
|
The Rust standand library provides a number of useful features that are
|
|
not required in or otherwise suitable for the core library.
|
|
|
|
*/
|
|
|
|
#[link(name = "std",
|
|
vers = "0.4",
|
|
uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
|
|
url = "https://github.com/mozilla/rust/tree/master/src/libstd")];
|
|
|
|
#[comment = "The Rust standard library"];
|
|
#[license = "MIT"];
|
|
#[crate_type = "lib"];
|
|
|
|
#[no_core];
|
|
|
|
#[legacy_modes];
|
|
#[legacy_exports];
|
|
|
|
#[allow(vecs_implicitly_copyable)];
|
|
#[deny(non_camel_case_types)];
|
|
|
|
extern mod core(vers = "0.4");
|
|
use core::*;
|
|
|
|
export net, net_tcp, net_ip, net_url;
|
|
export uv, uv_ll, uv_iotask, uv_global_loop;
|
|
export c_vec, timer;
|
|
export sync, arc, comm;
|
|
export bitv, deque, fun_treemap, list, map;
|
|
export smallintmap, sort, treemap;
|
|
export rope, arena, par;
|
|
export ebml, ebml2;
|
|
export dbg, getopts, json, rand, sha1, term, time;
|
|
export prettyprint, prettyprint2;
|
|
export test, tempfile, serialization, serialization2;
|
|
export cmp;
|
|
export base64;
|
|
export cell;
|
|
|
|
// General io and system-services modules
|
|
|
|
#[legacy_exports]
|
|
mod net;
|
|
#[legacy_exports]
|
|
mod net_ip;
|
|
#[legacy_exports]
|
|
mod net_tcp;
|
|
#[legacy_exports]
|
|
mod net_url;
|
|
|
|
// libuv modules
|
|
#[legacy_exports]
|
|
mod uv;
|
|
#[legacy_exports]
|
|
mod uv_ll;
|
|
#[legacy_exports]
|
|
mod uv_iotask;
|
|
#[legacy_exports]
|
|
mod uv_global_loop;
|
|
|
|
|
|
// Utility modules
|
|
|
|
#[legacy_exports]
|
|
mod c_vec;
|
|
#[legacy_exports]
|
|
mod timer;
|
|
#[legacy_exports]
|
|
mod cell;
|
|
|
|
// Concurrency
|
|
|
|
#[legacy_exports]
|
|
mod sync;
|
|
#[legacy_exports]
|
|
mod arc;
|
|
#[legacy_exports]
|
|
mod comm;
|
|
|
|
// Collections
|
|
|
|
#[legacy_exports]
|
|
mod bitv;
|
|
#[legacy_exports]
|
|
mod deque;
|
|
#[legacy_exports]
|
|
mod fun_treemap;
|
|
#[legacy_exports]
|
|
mod list;
|
|
#[legacy_exports]
|
|
mod map;
|
|
#[legacy_exports]
|
|
mod rope;
|
|
#[legacy_exports]
|
|
mod smallintmap;
|
|
#[legacy_exports]
|
|
mod sort;
|
|
#[legacy_exports]
|
|
mod treemap;
|
|
#[legacy_exports]
|
|
|
|
// And ... other stuff
|
|
|
|
#[legacy_exports]
|
|
mod ebml;
|
|
#[legacy_exports]
|
|
mod ebml2;
|
|
#[legacy_exports]
|
|
mod dbg;
|
|
#[legacy_exports]
|
|
mod getopts;
|
|
#[legacy_exports]
|
|
mod json;
|
|
#[legacy_exports]
|
|
mod sha1;
|
|
#[legacy_exports]
|
|
mod md4;
|
|
#[legacy_exports]
|
|
mod tempfile;
|
|
#[legacy_exports]
|
|
mod term;
|
|
#[legacy_exports]
|
|
mod time;
|
|
#[legacy_exports]
|
|
mod prettyprint;
|
|
#[legacy_exports]
|
|
mod prettyprint2;
|
|
#[legacy_exports]
|
|
mod arena;
|
|
#[legacy_exports]
|
|
mod par;
|
|
#[legacy_exports]
|
|
mod cmp;
|
|
#[legacy_exports]
|
|
mod base64;
|
|
|
|
#[cfg(unicode)]
|
|
#[legacy_exports]
|
|
mod unicode;
|
|
|
|
|
|
// Compiler support modules
|
|
|
|
#[legacy_exports]
|
|
mod test;
|
|
#[legacy_exports]
|
|
mod serialization;
|
|
mod serialization2;
|
|
|
|
// Local Variables:
|
|
// mode: rust;
|
|
// fill-column: 78;
|
|
// indent-tabs-mode: nil
|
|
// c-basic-offset: 4
|
|
// buffer-file-coding-system: utf-8-unix
|
|
// End:
|