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"];
|
2012-01-08 18:21:43 -06:00
|
|
|
#[license = "MIT"];
|
2011-12-08 23:08:23 -06:00
|
|
|
#[crate_type = "lib"];
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2012-01-21 19:29:52 -06:00
|
|
|
export fs, io, net, run, uv, uvtmp;
|
2011-12-20 00:55:15 -06:00
|
|
|
export c_vec, 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-12-14 20:04:45 -06:00
|
|
|
export ebml, dbg, getopts, json, rand, sha1, term, time;
|
2012-01-21 15:51:54 -06:00
|
|
|
export 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;
|
|
|
|
|
|
|
|
|
|
|
|
// General io and system-services modules
|
|
|
|
|
|
|
|
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-12-01 01:26:23 -06:00
|
|
|
mod uv;
|
2012-01-21 19:29:52 -06:00
|
|
|
mod uvtmp;
|
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-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 rand;
|
|
|
|
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;
|
|
|
|
|
|
|
|
#[cfg(unicode)]
|
|
|
|
mod unicode;
|
|
|
|
|
|
|
|
|
|
|
|
// Compiler support modules
|
|
|
|
|
|
|
|
mod test;
|
2012-02-12 21:02:08 -06:00
|
|
|
mod serialization;
|
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
|
|
|
|
2011-12-30 02:18:55 -06:00
|
|
|
#[cfg(target_os = "freebsd")]
|
|
|
|
#[path = "freebsd_os.rs"]
|
|
|
|
mod os;
|
|
|
|
#[cfg(target_os = "freebsd")]
|
|
|
|
#[path = "posix_fs.rs"]
|
|
|
|
mod os_fs;
|
|
|
|
|
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:
|