]> git.lizzy.rs Git - rust.git/blob - src/librustc_data_structures/lib.rs
rollup merge of #24222: lambda/rename-soft-link-to-symlink
[rust.git] / src / librustc_data_structures / 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 //! Various data structures used by the Rust compiler. The intention
12 //! is that code in here should be not be *specific* to rustc, so that
13 //! it can be easily unit tested and so forth.
14 //!
15 //! # Note
16 //!
17 //! This API is completely unstable and subject to change.
18
19 // Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
20 #![cfg_attr(stage0, feature(custom_attribute))]
21 #![crate_name = "rustc_data_structures"]
22 #![unstable(feature = "rustc_private")]
23 #![crate_type = "dylib"]
24 #![crate_type = "rlib"]
25 #![staged_api]
26 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
27       html_favicon_url = "http://www.rust-lang.org/favicon.ico",
28       html_root_url = "http://doc.rust-lang.org/nightly/")]
29
30 #![feature(rustc_private, staged_api)]
31 #![cfg_attr(test, feature(test))]
32
33 #[macro_use] extern crate log;
34 extern crate serialize as rustc_serialize; // used by deriving
35
36 pub mod snapshot_vec;
37 pub mod graph;
38 pub mod bitvec;
39 pub mod unify;