]> git.lizzy.rs Git - rust.git/blob - src/librustc_incremental/lib.rs
ed31e0ba51056a34fe41af2e76a32b2a58b481ba
[rust.git] / src / librustc_incremental / lib.rs
1 // Copyright 2012-2013 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 //! Support for serializing the dep-graph and reloading it.
12
13 #![crate_name = "rustc_incremental"]
14 #![unstable(feature = "rustc_private", issue = "27812")]
15 #![crate_type = "dylib"]
16 #![crate_type = "rlib"]
17 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
18       html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
19       html_root_url = "https://doc.rust-lang.org/nightly/")]
20 #![cfg_attr(not(stage0), deny(warnings))]
21
22 #![feature(rustc_private)]
23 #![feature(staged_api)]
24
25 extern crate graphviz;
26 extern crate rbml;
27 #[macro_use] extern crate rustc;
28 extern crate rustc_data_structures;
29 extern crate serialize as rustc_serialize;
30
31 #[macro_use] extern crate log;
32 #[macro_use] extern crate syntax;
33 extern crate syntax_pos;
34
35 mod assert_dep_graph;
36 mod calculate_svh;
37 mod persist;
38
39 pub use assert_dep_graph::assert_dep_graph;
40 pub use calculate_svh::SvhCalculate;
41 pub use persist::load_dep_graph;
42 pub use persist::save_dep_graph;