2012-07-04 16:53:12 -05:00
|
|
|
//! Rustdoc - The Rust documentation generator
|
2012-01-23 18:23:08 -06:00
|
|
|
|
2012-01-15 16:28:10 -06:00
|
|
|
#[link(name = "rustdoc",
|
2012-08-30 16:05:49 -05:00
|
|
|
vers = "0.4",
|
2012-01-15 16:28:10 -06:00
|
|
|
uuid = "f8abd014-b281-484d-a0c3-26e3de8e2412",
|
2012-03-28 15:42:17 -05:00
|
|
|
url = "https://github.com/mozilla/rust/tree/master/src/rustdoc")];
|
2012-01-15 16:28:10 -06:00
|
|
|
|
2012-01-23 18:25:15 -06:00
|
|
|
#[comment = "The Rust documentation generator"];
|
2012-01-15 16:28:10 -06:00
|
|
|
#[license = "MIT"];
|
|
|
|
#[crate_type = "bin"];
|
2012-01-15 16:56:58 -06:00
|
|
|
|
2012-04-05 19:30:26 -05:00
|
|
|
#[no_core];
|
|
|
|
|
Nomenclature fixes in the lint checker. Fewer double-negatives.
New style is allow(foo), warn(foo), deny(foo) and forbid(foo),
mirrored by -A foo, -W foo, -D foo and -F foo on command line.
These replace -W no-foo, -W foo, -W err-foo, respectively.
Forbid is new, and means "deny, and you can't override it".
2012-07-26 19:08:21 -05:00
|
|
|
#[allow(vecs_implicitly_copyable,
|
|
|
|
non_implicitly_copyable_typarams)];
|
2012-06-04 20:34:24 -05:00
|
|
|
|
2012-08-30 16:05:49 -05:00
|
|
|
use core(vers = "0.4");
|
|
|
|
use std(vers = "0.4");
|
|
|
|
use rustc(vers = "0.4");
|
|
|
|
use syntax(vers = "0.4");
|
2012-04-05 19:30:26 -05:00
|
|
|
|
|
|
|
import core::*;
|
2012-07-13 12:36:35 -05:00
|
|
|
import std::par;
|
2012-01-17 19:22:03 -06:00
|
|
|
|
2012-02-26 18:32:57 -06:00
|
|
|
mod config;
|
2012-01-15 17:06:59 -06:00
|
|
|
mod parse;
|
2012-01-15 19:23:19 -06:00
|
|
|
mod extract;
|
2012-01-15 23:50:55 -06:00
|
|
|
mod attr_parser;
|
2012-01-15 17:23:07 -06:00
|
|
|
mod doc;
|
2012-03-02 17:17:13 -06:00
|
|
|
mod markdown_index_pass;
|
2012-01-24 20:18:14 -06:00
|
|
|
mod markdown_pass;
|
2012-03-01 00:26:28 -06:00
|
|
|
mod markdown_writer;
|
2012-01-16 17:33:06 -06:00
|
|
|
mod fold;
|
2012-01-19 01:48:25 -06:00
|
|
|
mod path_pass;
|
2012-01-16 18:05:59 -06:00
|
|
|
mod attr_pass;
|
2012-01-16 18:55:26 -06:00
|
|
|
mod tystr_pass;
|
2012-03-07 16:49:52 -06:00
|
|
|
mod prune_hidden_pass;
|
2012-01-24 19:19:27 -06:00
|
|
|
mod desc_to_brief_pass;
|
2012-03-08 19:00:03 -06:00
|
|
|
mod text_pass;
|
2012-01-25 00:02:36 -06:00
|
|
|
mod unindent_pass;
|
2012-01-24 19:40:22 -06:00
|
|
|
mod trim_pass;
|
2012-01-16 18:55:26 -06:00
|
|
|
mod astsrv;
|
2012-01-24 22:29:59 -06:00
|
|
|
mod demo;
|
2012-02-03 14:00:49 -06:00
|
|
|
mod sort_pass;
|
|
|
|
mod sort_item_name_pass;
|
2012-02-20 18:10:54 -06:00
|
|
|
mod sort_item_type_pass;
|
2012-03-06 15:56:33 -06:00
|
|
|
mod page_pass;
|
2012-03-16 14:20:29 -05:00
|
|
|
mod sectionalize_pass;
|
|
|
|
mod escape_pass;
|