2012-09-19 18:52:46 -05:00
|
|
|
/*!
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2011-06-28 14:53:59 -05:00
|
|
|
#[link(name = "std",
|
2012-08-30 16:05:49 -05:00
|
|
|
vers = "0.4",
|
2011-06-28 14:53:59 -05:00
|
|
|
uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
|
2012-03-28 15:42:17 -05:00
|
|
|
url = "https://github.com/mozilla/rust/tree/master/src/libstd")];
|
2011-06-28 14:53:59 -05:00
|
|
|
|
2011-11-01 22:48:44 -05:00
|
|
|
#[comment = "The Rust standard library"];
|
2012-01-08 18:21:43 -06:00
|
|
|
#[license = "MIT"];
|
2011-12-08 23:08:23 -06:00
|
|
|
#[crate_type = "lib"];
|
2012-03-07 20:17:30 -06:00
|
|
|
|
2012-04-05 19:30:26 -05:00
|
|
|
#[no_core];
|
|
|
|
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports];
|
2012-09-18 17:52:21 -05:00
|
|
|
|
Nomenclature fixes in the lint checker. Fewer double-negatives.
New style is allow(foo), warn(foo), deny(foo) and forbid(foo),
mirrored by -A foo, -W foo, -D foo and -F foo on command line.
These replace -W no-foo, -W foo, -W err-foo, respectively.
Forbid is new, and means "deny, and you can't override it".
2012-07-26 19:08:21 -05:00
|
|
|
#[allow(vecs_implicitly_copyable)];
|
2012-09-09 17:00:29 -05:00
|
|
|
#[deny(non_camel_case_types)];
|
2012-09-28 02:22:18 -05:00
|
|
|
#[forbid(deprecated_pattern)];
|
2012-06-04 20:34:24 -05:00
|
|
|
|
2012-09-11 19:46:20 -05:00
|
|
|
extern mod core(vers = "0.4");
|
2012-09-05 13:46:25 -05:00
|
|
|
use core::*;
|
2012-04-05 19:30:26 -05:00
|
|
|
|
2012-07-09 13:08:07 -05:00
|
|
|
export net, net_tcp, net_ip, net_url;
|
2012-05-25 01:42:12 -05:00
|
|
|
export uv, uv_ll, uv_iotask, uv_global_loop;
|
2012-08-02 13:26:52 -05:00
|
|
|
export c_vec, timer;
|
2012-08-16 18:45:42 -05:00
|
|
|
export sync, arc, comm;
|
2012-07-30 12:55:44 -05:00
|
|
|
export bitv, deque, fun_treemap, list, map;
|
2012-07-27 16:52:15 -05:00
|
|
|
export smallintmap, sort, treemap;
|
2012-06-06 19:58:15 -05:00
|
|
|
export rope, arena, par;
|
2012-09-18 12:47:39 -05:00
|
|
|
export ebml, ebml2;
|
|
|
|
export dbg, getopts, json, rand, sha1, term, time;
|
|
|
|
export prettyprint, prettyprint2;
|
2012-09-10 20:27:39 -05:00
|
|
|
export test, tempfile, serialization, serialization2;
|
2012-06-07 20:12:50 -05:00
|
|
|
export cmp;
|
2012-07-05 16:39:08 -05:00
|
|
|
export base64;
|
2012-08-12 18:26:45 -05:00
|
|
|
export cell;
|
2011-11-01 22:48:44 -05:00
|
|
|
|
|
|
|
// General io and system-services modules
|
|
|
|
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports]
|
2011-11-01 22:48:44 -05:00
|
|
|
mod net;
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports]
|
2012-04-29 23:53:17 -05:00
|
|
|
mod net_ip;
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports]
|
2012-04-26 16:30:22 -05:00
|
|
|
mod net_tcp;
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports]
|
2012-07-09 13:08:07 -05:00
|
|
|
mod net_url;
|
2012-04-02 11:12:43 -05:00
|
|
|
|
|
|
|
// libuv modules
|
2011-12-01 01:26:23 -06:00
|
|
|
mod uv;
|
2012-04-02 11:12:43 -05:00
|
|
|
mod uv_ll;
|
2012-05-25 01:42:12 -05:00
|
|
|
mod uv_iotask;
|
2012-04-17 14:05:04 -05:00
|
|
|
mod uv_global_loop;
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2010-07-05 16:38:02 -05:00
|
|
|
|
2011-11-01 22:48:44 -05:00
|
|
|
// Utility modules
|
|
|
|
|
2011-11-23 04:15:04 -06:00
|
|
|
mod c_vec;
|
2012-04-20 07:00:14 -05:00
|
|
|
mod timer;
|
2012-08-12 18:26:45 -05:00
|
|
|
mod cell;
|
2010-07-05 16:38:02 -05:00
|
|
|
|
2012-08-10 17:20:03 -05:00
|
|
|
// Concurrency
|
|
|
|
|
|
|
|
mod sync;
|
|
|
|
mod arc;
|
2012-08-14 16:17:27 -05:00
|
|
|
mod comm;
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2011-11-01 22:48:44 -05:00
|
|
|
// Collections
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2011-11-01 22:48:44 -05:00
|
|
|
mod bitv;
|
|
|
|
mod deque;
|
|
|
|
mod fun_treemap;
|
|
|
|
mod list;
|
|
|
|
mod map;
|
2011-11-04 12:38:42 -05:00
|
|
|
mod rope;
|
2011-11-01 22:48:44 -05:00
|
|
|
mod smallintmap;
|
|
|
|
mod sort;
|
|
|
|
mod treemap;
|
|
|
|
|
|
|
|
// And ... other stuff
|
|
|
|
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports]
|
2011-11-01 22:48:44 -05:00
|
|
|
mod ebml;
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports]
|
2012-09-18 12:47:39 -05:00
|
|
|
mod ebml2;
|
2011-11-01 22:48:44 -05:00
|
|
|
mod dbg;
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports]
|
2011-11-01 22:48:44 -05:00
|
|
|
mod getopts;
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports]
|
2011-11-07 13:01:28 -06:00
|
|
|
mod json;
|
2011-11-01 22:48:44 -05:00
|
|
|
mod sha1;
|
2012-01-17 04:50:31 -06:00
|
|
|
mod md4;
|
2011-11-08 22:35:15 -06:00
|
|
|
mod tempfile;
|
2011-11-01 22:48:44 -05:00
|
|
|
mod term;
|
|
|
|
mod time;
|
2012-03-12 12:19:35 -05:00
|
|
|
mod prettyprint;
|
2012-09-18 12:47:39 -05:00
|
|
|
mod prettyprint2;
|
2012-03-20 21:06:04 -05:00
|
|
|
mod arena;
|
2012-05-30 12:36:29 -05:00
|
|
|
mod par;
|
2012-06-07 20:12:50 -05:00
|
|
|
mod cmp;
|
2012-07-05 16:40:51 -05:00
|
|
|
mod base64;
|
2011-11-01 22:48:44 -05:00
|
|
|
|
|
|
|
#[cfg(unicode)]
|
|
|
|
mod unicode;
|
|
|
|
|
|
|
|
|
|
|
|
// Compiler support modules
|
|
|
|
|
|
|
|
mod test;
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports]
|
2012-02-12 21:02:08 -06:00
|
|
|
mod serialization;
|
2012-09-10 20:27:39 -05:00
|
|
|
mod serialization2;
|
2010-07-16 20:14:52 -05:00
|
|
|
|
2010-09-22 17:44:13 -05:00
|
|
|
// Local Variables:
|
|
|
|
// mode: rust;
|
|
|
|
// fill-column: 78;
|
|
|
|
// indent-tabs-mode: nil
|
|
|
|
// c-basic-offset: 4
|
|
|
|
// buffer-file-coding-system: utf-8-unix
|
|
|
|
// End:
|