]> git.lizzy.rs Git - rust.git/blob - src/librustc_metadata/lib.rs
Register new snapshots
[rust.git] / src / librustc_metadata / lib.rs
1 // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 #![crate_name = "rustc_metadata"]
12 #![unstable(feature = "rustc_private", issue = "27812")]
13 #![crate_type = "dylib"]
14 #![crate_type = "rlib"]
15 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
16       html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
17       html_root_url = "https://doc.rust-lang.org/nightly/")]
18
19 #![feature(box_patterns)]
20 #![feature(enumset)]
21 #![feature(quote)]
22 #![feature(rustc_diagnostic_macros)]
23 #![feature(rustc_private)]
24 #![feature(staged_api)]
25 #![feature(time2)]
26
27 #[macro_use] extern crate log;
28 #[macro_use] extern crate syntax;
29 #[macro_use] #[no_link] extern crate rustc_bitflags;
30
31 extern crate flate;
32 extern crate rbml;
33 extern crate serialize;
34
35 extern crate rustc;
36 extern crate rustc_back;
37 extern crate rustc_front;
38 extern crate rustc_llvm;
39
40 pub use rustc::middle;
41
42 #[macro_use]
43 mod macros;
44
45 pub mod diagnostics;
46
47 pub mod astencode;
48 pub mod common;
49 pub mod tyencode;
50 pub mod tydecode;
51 pub mod encoder;
52 pub mod decoder;
53 pub mod creader;
54 pub mod csearch;
55 pub mod cstore;
56 pub mod index;
57 pub mod loader;
58 pub mod macro_import;
59 pub mod tls_context;