]> git.lizzy.rs Git - rust.git/blob - src/libstd/std.rc
Declare MIT license in crate attributes, not BSD
[rust.git] / src / libstd / std.rc
1 #[link(name = "std",
2        vers = "0.1",
3        uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297",
4        url = "http://rust-lang.org/src/std")];
5
6 #[comment = "The Rust standard library"];
7 #[license = "MIT"];
8 #[crate_type = "lib"];
9
10 export comm, fs, io, net, run, uv;
11 export c_vec, four, tri, util;
12 export bitv, deque, fun_treemap, list, map, smallintmap, sort, treemap, ufind;
13 export rope;
14 export ebml, dbg, getopts, json, rand, sha1, term, time;
15 export extfmt, test, tempfile;
16 // FIXME: generic_os and os_fs shouldn't be exported
17 export generic_os, os, os_fs;
18
19
20 // General io and system-services modules
21
22 mod comm;
23 mod fs;
24 mod io;
25 mod net;
26 #[path =  "run_program.rs"]
27 mod run;
28 mod uv;
29
30
31 // Utility modules
32
33 mod c_vec;
34 mod four;
35 mod tri;
36 mod util;
37
38
39 // Collections
40
41 mod bitv;
42 mod deque;
43 mod fun_treemap;
44 mod list;
45 mod map;
46 mod rope;
47 mod smallintmap;
48 mod sort;
49 mod treemap;
50 mod ufind;
51
52
53 // And ... other stuff
54
55 mod ebml;
56 mod dbg;
57 mod getopts;
58 mod json;
59 mod rand;
60 mod sha1;
61 mod tempfile;
62 mod term;
63 mod time;
64
65 #[cfg(unicode)]
66 mod unicode;
67
68
69 // Compiler support modules
70
71 mod extfmt;
72 mod test;
73
74
75 // Target-os module.
76
77 // TODO: Have each os module re-export everything from genericos.
78 mod generic_os;
79
80 #[cfg(target_os = "win32")]
81 #[path = "win32_os.rs"]
82 mod os;
83 #[cfg(target_os = "win32")]
84 #[path = "win32_fs.rs"]
85 mod os_fs;
86
87 #[cfg(target_os = "macos")]
88 #[path = "macos_os.rs"]
89 mod os;
90 #[cfg(target_os = "macos")]
91 #[path = "posix_fs.rs"]
92 mod os_fs;
93
94 #[cfg(target_os = "linux")]
95 #[path = "linux_os.rs"]
96 mod os;
97 #[cfg(target_os = "linux")]
98 #[path = "posix_fs.rs"]
99 mod os_fs;
100
101 #[cfg(target_os = "freebsd")]
102 #[path = "freebsd_os.rs"]
103 mod os;
104 #[cfg(target_os = "freebsd")]
105 #[path = "posix_fs.rs"]
106 mod os_fs;
107
108 // Local Variables:
109 // mode: rust;
110 // fill-column: 78;
111 // indent-tabs-mode: nil
112 // c-basic-offset: 4
113 // buffer-file-coding-system: utf-8-unix
114 // compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
115 // End: