]> git.proxmox.com Git - rustc.git/blame - src/librustc_metadata/lib.rs
New upstream version 1.23.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 11#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
7453a54e
SL
12 html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
13 html_root_url = "https://doc.rust-lang.org/nightly/")]
32a655c1 14#![deny(warnings)]
92a42be0 15
c30ab7b3 16#![feature(box_patterns)]
9e0c209e 17#![feature(conservative_impl_trait)]
8bb4bdeb 18#![feature(i128_type)]
c30ab7b3 19#![feature(proc_macro_internals)]
92a42be0
SL
20#![feature(quote)]
21#![feature(rustc_diagnostic_macros)]
9e0c209e 22#![feature(specialization)]
7cac9316
XL
23#![feature(rustc_private)]
24
c30ab7b3
SL
25#[macro_use]
26extern crate log;
27#[macro_use]
28extern crate syntax;
3157f602 29extern crate syntax_pos;
041b39d2 30extern crate flate2;
a7813a04 31extern crate serialize as rustc_serialize; // used by deriving
7cac9316 32extern crate owning_ref;
3157f602 33extern crate rustc_errors as errors;
9e0c209e 34extern crate syntax_ext;
c30ab7b3 35extern crate proc_macro;
92a42be0 36
54a0048b 37#[macro_use]
92a42be0
SL
38extern crate rustc;
39extern crate rustc_back;
c30ab7b3 40extern crate rustc_data_structures;
92a42be0 41
9e0c209e 42mod diagnostics;
92a42be0 43
9e0c209e
SL
44mod astencode;
45mod index_builder;
46mod index;
47mod encoder;
48mod decoder;
c30ab7b3 49mod cstore_impl;
7cac9316 50mod isolated_encoder;
9e0c209e 51mod schema;
ea8adc8c
XL
52mod native_libs;
53mod link_args;
92a42be0 54
92a42be0 55pub mod creader;
92a42be0 56pub mod cstore;
c30ab7b3 57pub mod locator;
9e0c209e
SL
58
59__build_diagnostic_array! { librustc_metadata, DIAGNOSTICS }