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