rust/src/lib/std.rc
Brian Anderson 7ae757583a Begin documenting std and add doc generation using naturaldocs
Naturaldocs isn't really that great but it seems easier to get
something working than with doxygen, for which we would need to
convert rust code to something C++ish. We probably want to just
write a rustdoc utility at some point.
2011-10-25 18:01:52 -07:00

111 lines
1.7 KiB
Text

#[link(name = "std",
vers = "0.1",
uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
url = "http://rust-lang.org/src/std")];
#[comment = "Rust standard library"];
#[license = "BSD"];
// Built-in types support modules.
mod char;
mod int;
mod uint;
mod u8;
mod u32;
mod u64;
mod vec;
mod str;
mod float;
// General io and system-services modules.
mod io;
mod sys;
mod task;
mod comm;
// Utility modules.
mod either;
mod option;
mod util;
mod ctypes;
// Authorize various rule-bendings.
auth io = unsafe;
auth fs = unsafe;
auth os_fs = unsafe;
auth run = unsafe;
auth str = unsafe;
auth vec = unsafe;
auth task = unsafe;
auth dbg = unsafe;
auth uint::next_power_of_two = unsafe;
auth map::mk_hashmap = unsafe;
auth rand::mk_rng = unsafe;
// Target-os module.
// TODO: Have each os module re-export everything from genericos.
mod generic_os;
#[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";
mod run = "run_program.rs";
mod fs;
mod aio;
mod sio;
mod net;
// FIXME: parametric
mod map;
mod treemap;
mod fun_treemap;
mod deque;
mod list;
mod rand;
mod dbg;
mod bitv;
mod sort;
mod sha1;
mod ebml;
mod ufind;
mod extfmt;
mod box;
mod getopts;
mod time;
mod smallintmap;
mod ptr;
mod test;
mod unsafe;
mod term;
mod math;
#[cfg(unicode)]
mod unicode;
// 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: