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-06-18 18:44:53 -05:00
|
|
|
#[comment = "Rust standard library"];
|
|
|
|
#[license = "BSD"];
|
2010-06-23 23:03:09 -05:00
|
|
|
|
|
|
|
// Built-in types support modules.
|
|
|
|
|
2011-08-01 18:58:19 -05:00
|
|
|
mod char;
|
2011-05-17 13:41:41 -05:00
|
|
|
mod int;
|
|
|
|
mod uint;
|
|
|
|
mod u8;
|
2011-07-08 14:18:54 -05:00
|
|
|
mod u64;
|
2011-08-15 18:38:23 -05:00
|
|
|
mod vec;
|
2011-09-01 19:27:58 -05:00
|
|
|
mod str;
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
// General io and system-services modules.
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2011-08-11 21:14:38 -05:00
|
|
|
mod io;
|
2011-05-12 10:24:54 -05:00
|
|
|
mod sys;
|
2011-05-31 19:44:54 -05:00
|
|
|
mod task;
|
2011-07-29 19:53:02 -05:00
|
|
|
mod comm;
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2010-07-05 16:38:02 -05:00
|
|
|
// Utility modules.
|
|
|
|
|
2011-06-15 14:46:30 -05:00
|
|
|
mod either;
|
2011-05-12 10:24:54 -05:00
|
|
|
mod option;
|
|
|
|
mod util;
|
2011-10-04 15:08:51 -05:00
|
|
|
mod ctypes;
|
2010-07-05 16:38:02 -05:00
|
|
|
|
2010-06-23 23:03:09 -05:00
|
|
|
// Authorize various rule-bendings.
|
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
auth io = unsafe;
|
|
|
|
auth fs = unsafe;
|
|
|
|
auth os_fs = unsafe;
|
|
|
|
auth run = unsafe;
|
2011-05-17 13:41:41 -05:00
|
|
|
auth str = unsafe;
|
|
|
|
auth vec = unsafe;
|
2011-05-31 19:44:54 -05:00
|
|
|
auth task = unsafe;
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
auth dbg = unsafe;
|
2010-08-24 20:37:42 -05:00
|
|
|
|
2011-05-17 13:41:41 -05:00
|
|
|
auth uint::next_power_of_two = unsafe;
|
2011-05-12 10:24:54 -05:00
|
|
|
auth map::mk_hashmap = unsafe;
|
|
|
|
auth rand::mk_rng = unsafe;
|
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")]
|
|
|
|
mod os = "win32_os.rs";
|
|
|
|
#[cfg(target_os = "win32")]
|
|
|
|
mod os_fs = "win32_fs.rs";
|
|
|
|
|
|
|
|
#[cfg(target_os = "macos")]
|
|
|
|
mod os = "macos_os.rs";
|
|
|
|
#[cfg(target_os = "macos")]
|
|
|
|
mod os_fs = "posix_fs.rs";
|
|
|
|
|
|
|
|
#[cfg(target_os = "linux")]
|
|
|
|
mod os = "linux_os.rs";
|
|
|
|
#[cfg(target_os = "linux")]
|
|
|
|
mod os_fs = "posix_fs.rs";
|
2011-04-28 16:53:23 -05:00
|
|
|
|
2011-05-12 10:24:54 -05:00
|
|
|
mod run = "run_program.rs";
|
|
|
|
mod fs;
|
2011-06-16 00:04:31 -05:00
|
|
|
mod aio;
|
|
|
|
mod sio;
|
2011-08-15 18:54:02 -05:00
|
|
|
mod net;
|
2011-03-10 08:56:51 -06:00
|
|
|
|
2010-10-16 00:09:09 -05:00
|
|
|
// FIXME: parametric
|
2011-05-12 10:24:54 -05:00
|
|
|
mod map;
|
2011-08-25 19:19:23 -05:00
|
|
|
mod treemap;
|
2011-08-30 10:38:14 -05:00
|
|
|
mod fun_treemap;
|
2011-05-12 10:24:54 -05:00
|
|
|
mod deque;
|
|
|
|
mod list;
|
|
|
|
mod rand;
|
|
|
|
mod dbg;
|
|
|
|
mod bitv;
|
|
|
|
mod sort;
|
|
|
|
mod sha1;
|
|
|
|
mod ebml;
|
|
|
|
mod ufind;
|
2011-09-01 19:49:29 -05:00
|
|
|
mod extfmt;
|
2011-05-12 10:24:54 -05:00
|
|
|
mod box;
|
|
|
|
mod getopts;
|
|
|
|
mod time;
|
2011-06-03 18:14:29 -05:00
|
|
|
mod smallintmap;
|
2011-07-08 23:55:43 -05:00
|
|
|
mod ptr;
|
2011-07-09 18:08:03 -05:00
|
|
|
mod test;
|
2011-07-10 03:24:31 -05:00
|
|
|
mod unsafe;
|
2011-08-12 00:55:08 -05:00
|
|
|
mod term;
|
2010-09-22 17:44:13 -05:00
|
|
|
|
2011-09-15 17:49:17 -05:00
|
|
|
#[cfg(unicode)]
|
|
|
|
mod unicode;
|
|
|
|
|
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:
|