2011-06-28 14:53:59 -05:00
|
|
|
#[link(name = "std",
|
|
|
|
vers = "0.1",
|
|
|
|
uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
|
|
|
|
url = "http://rust-lang.org/src/std")];
|
|
|
|
|
2011-11-01 22:48:44 -05:00
|
|
|
#[comment = "The Rust standard library"];
|
2011-06-18 18:44:53 -05:00
|
|
|
#[license = "BSD"];
|
2010-06-23 23:03:09 -05:00
|
|
|
|
|
|
|
|
2011-11-24 13:43:33 -06:00
|
|
|
export box, char, float, int, str, ptr;
|
|
|
|
export uint, u8, u32, u64, vec, bool;
|
2011-12-01 01:26:23 -06:00
|
|
|
export comm, fs, io, net, run, sys, task, uv;
|
2011-11-23 04:15:04 -06:00
|
|
|
export c_vec, ctypes, either, option, result, four, tri, util;
|
2011-11-01 22:48:44 -05:00
|
|
|
export bitv, deque, fun_treemap, list, map, smallintmap, sort, treemap, ufind;
|
2011-11-04 12:38:42 -05:00
|
|
|
export rope;
|
2011-11-24 13:43:33 -06:00
|
|
|
export math, math_f32, math_f64;
|
|
|
|
export ebml, dbg, getopts, json, rand, sha1, term, time, unsafe;
|
2011-11-08 22:35:15 -06:00
|
|
|
export extfmt, test, tempfile;
|
2011-11-01 22:48:44 -05:00
|
|
|
// FIXME: generic_os and os_fs shouldn't be exported
|
|
|
|
export generic_os, os, os_fs;
|
|
|
|
|
|
|
|
|
|
|
|
// Built-in types support modules
|
|
|
|
|
|
|
|
mod box;
|
2011-08-01 18:58:19 -05:00
|
|
|
mod char;
|
2011-11-01 22:48:44 -05:00
|
|
|
mod float;
|
2011-05-17 13:41:41 -05:00
|
|
|
mod int;
|
2011-11-01 22:48:44 -05:00
|
|
|
mod str;
|
|
|
|
mod ptr;
|
2011-05-17 13:41:41 -05:00
|
|
|
mod uint;
|
|
|
|
mod u8;
|
2011-10-17 07:43:53 -05:00
|
|
|
mod u32;
|
2011-07-08 14:18:54 -05:00
|
|
|
mod u64;
|
2011-11-19 00:44:41 -06:00
|
|
|
mod bool;
|
2011-08-15 18:38:23 -05:00
|
|
|
mod vec;
|
2010-06-23 23:03:09 -05:00
|
|
|
|
|
|
|
|
2011-11-01 22:48:44 -05:00
|
|
|
// General io and system-services modules
|
|
|
|
|
|
|
|
mod comm;
|
|
|
|
mod fs;
|
2011-08-11 21:14:38 -05:00
|
|
|
mod io;
|
2011-11-01 22:48:44 -05:00
|
|
|
mod net;
|
2011-11-21 22:31:09 -06:00
|
|
|
#[path = "run_program.rs"]
|
|
|
|
mod run;
|
2011-05-12 10:24:54 -05:00
|
|
|
mod sys;
|
2011-05-31 19:44:54 -05:00
|
|
|
mod task;
|
2011-12-01 01:26:23 -06:00
|
|
|
mod uv;
|
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;
|
2011-11-01 22:48:44 -05:00
|
|
|
mod ctypes;
|
2011-11-23 11:37:17 -06:00
|
|
|
mod cmath; /* unexported */
|
2011-06-15 14:46:30 -05:00
|
|
|
mod either;
|
2011-05-12 10:24:54 -05:00
|
|
|
mod option;
|
2011-11-01 22:48:44 -05:00
|
|
|
mod result;
|
2011-11-19 00:44:41 -06:00
|
|
|
mod four;
|
|
|
|
mod tri;
|
2011-05-12 10:24:54 -05:00
|
|
|
mod util;
|
2010-07-05 16:38:02 -05:00
|
|
|
|
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;
|
|
|
|
mod ufind;
|
|
|
|
|
|
|
|
|
|
|
|
// And ... other stuff
|
|
|
|
|
|
|
|
mod ebml;
|
|
|
|
mod dbg;
|
|
|
|
mod getopts;
|
2011-11-07 13:01:28 -06:00
|
|
|
mod json;
|
2011-11-01 22:48:44 -05:00
|
|
|
mod math;
|
2011-11-24 13:43:33 -06:00
|
|
|
mod math_f32;
|
|
|
|
mod math_f64;
|
2011-11-01 22:48:44 -05:00
|
|
|
mod rand;
|
|
|
|
mod sha1;
|
2011-11-08 22:35:15 -06:00
|
|
|
mod tempfile;
|
2011-11-01 22:48:44 -05:00
|
|
|
mod term;
|
|
|
|
mod time;
|
|
|
|
mod unsafe;
|
|
|
|
|
|
|
|
#[cfg(unicode)]
|
|
|
|
mod unicode;
|
|
|
|
|
|
|
|
|
|
|
|
// Compiler support modules
|
|
|
|
|
|
|
|
mod extfmt;
|
|
|
|
mod test;
|
2010-08-24 20:37:42 -05:00
|
|
|
|
2010-07-16 20:14:52 -05:00
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
// Target-os module.
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
// TODO: Have each os module re-export everything from genericos.
|
|
|
|
mod generic_os;
|
2011-04-28 16:53:23 -05:00
|
|
|
|
2011-06-30 16:12:11 -05:00
|
|
|
#[cfg(target_os = "win32")]
|
2011-11-21 22:31:09 -06:00
|
|
|
#[path = "win32_os.rs"]
|
|
|
|
mod os;
|
2011-06-30 16:12:11 -05:00
|
|
|
#[cfg(target_os = "win32")]
|
2011-11-21 22:31:09 -06:00
|
|
|
#[path = "win32_fs.rs"]
|
|
|
|
mod os_fs;
|
2011-06-30 16:12:11 -05:00
|
|
|
|
|
|
|
#[cfg(target_os = "macos")]
|
2011-11-21 22:31:09 -06:00
|
|
|
#[path = "macos_os.rs"]
|
|
|
|
mod os;
|
2011-06-30 16:12:11 -05:00
|
|
|
#[cfg(target_os = "macos")]
|
2011-11-21 22:31:09 -06:00
|
|
|
#[path = "posix_fs.rs"]
|
|
|
|
mod os_fs;
|
2011-06-30 16:12:11 -05:00
|
|
|
|
|
|
|
#[cfg(target_os = "linux")]
|
2011-11-21 22:31:09 -06:00
|
|
|
#[path = "linux_os.rs"]
|
|
|
|
mod os;
|
2011-06-30 16:12:11 -05:00
|
|
|
#[cfg(target_os = "linux")]
|
2011-11-21 22:31:09 -06:00
|
|
|
#[path = "posix_fs.rs"]
|
|
|
|
mod os_fs;
|
2011-04-28 16:53:23 -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
|
|
|
|
// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
|
|
|
|
// End:
|