Skip to content

Commit

Permalink
Rollup merge of rust-lang#41918 - brson:lic, r=alexcrichton
Browse files Browse the repository at this point in the history
Annotate the license exceptions
  • Loading branch information
Mark-Simulacrum authored May 12, 2017
2 parents 6d8c4ee + 084b67f commit 2db3722
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/tools/tidy/src/deps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ static LICENSES: &'static [&'static str] = &[
"Unlicense/MIT",
];

/// These MPL licensed projects are acceptable, but only these.
// These are exceptions to Rust's permissive licensing policy, and
// should be considered bugs. Exceptions are only allowed in Rust
// tooling. It is _crucial_ that no exception crates be dependencies
// of the Rust runtime (std / test).
static EXCEPTIONS: &'static [&'static str] = &[
"mdbook",
"openssl",
"pest",
"thread-id",
"mdbook", // MPL2, mdbook
"openssl", // BSD+advertising clause, cargo, mdbook
"pest", // MPL2, mdbook via handlebars
"thread-id", // Apache-2.0, mdbook
];

pub fn check(path: &Path, bad: &mut bool) {
Expand Down

0 comments on commit 2db3722

Please sign in to comment.