From: Brian Anderson Date: Thu, 11 May 2017 19:19:21 +0000 (+0000) Subject: Annotate the license exceptions X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=084b67f56a66b440657e6aa66227e971790a87a4;p=rust.git Annotate the license exceptions --- diff --git a/src/tools/tidy/src/deps.rs b/src/tools/tidy/src/deps.rs index 3bf396db4d3..8b7da2267cd 100644 --- a/src/tools/tidy/src/deps.rs +++ b/src/tools/tidy/src/deps.rs @@ -23,12 +23,15 @@ "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) {