]> git.lizzy.rs Git - rust.git/commitdiff
Annotate the license exceptions
authorBrian Anderson <banderson@mozilla.com>
Thu, 11 May 2017 19:19:21 +0000 (19:19 +0000)
committerBrian Anderson <banderson@mozilla.com>
Thu, 11 May 2017 19:19:21 +0000 (19:19 +0000)
src/tools/tidy/src/deps.rs

index 3bf396db4d39da9fe845523b35bdf7993218749d..8b7da2267cdedc191fb7e3f9e0e1f64c3368475f 100644 (file)
     "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) {