]> git.proxmox.com Git - rustc.git/blame - src/librustc_metadata/lib.rs
New upstream version 1.13.0+dfsg1
[rustc.git] / src / librustc_metadata / lib.rs
CommitLineData
92a42be0
SL
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
92a42be0
SL
11#![crate_name = "rustc_metadata"]
12#![unstable(feature = "rustc_private", issue = "27812")]
92a42be0
SL
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",
7453a54e
SL
16 html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
17 html_root_url = "https://doc.rust-lang.org/nightly/")]
18#![cfg_attr(not(stage0), deny(warnings))]
92a42be0 19
9e0c209e
SL
20#![feature(conservative_impl_trait)]
21#![feature(core_intrinsics)]
92a42be0 22#![feature(box_patterns)]
9e0c209e
SL
23#![feature(dotdot_in_tuple_patterns)]
24#![cfg_attr(stage0, feature(question_mark))]
92a42be0
SL
25#![feature(quote)]
26#![feature(rustc_diagnostic_macros)]
9e0c209e
SL
27#![feature(rustc_macro_lib)]
28#![feature(rustc_macro_internals)]
92a42be0 29#![feature(rustc_private)]
9e0c209e 30#![feature(specialization)]
92a42be0 31#![feature(staged_api)]
92a42be0
SL
32
33#[macro_use] extern crate log;
34#[macro_use] extern crate syntax;
3157f602 35extern crate syntax_pos;
92a42be0 36extern crate flate;
a7813a04 37extern crate serialize as rustc_serialize; // used by deriving
3157f602 38extern crate rustc_errors as errors;
9e0c209e 39extern crate syntax_ext;
92a42be0 40
54a0048b 41#[macro_use]
92a42be0 42extern crate rustc;
3157f602 43extern crate rustc_data_structures;
92a42be0 44extern crate rustc_back;
92a42be0 45extern crate rustc_llvm;
9e0c209e 46extern crate rustc_macro;
54a0048b 47extern crate rustc_const_math;
92a42be0 48
9e0c209e 49mod diagnostics;
92a42be0 50
9e0c209e
SL
51mod astencode;
52mod index_builder;
53mod index;
54mod encoder;
55mod decoder;
56mod csearch;
57mod schema;
92a42be0 58
92a42be0 59pub mod creader;
92a42be0 60pub mod cstore;
92a42be0
SL
61pub mod loader;
62pub mod macro_import;
9e0c209e
SL
63
64__build_diagnostic_array! { librustc_metadata, DIAGNOSTICS }