Skip to content

Commit dd70015

Browse files
committed
Deny all licenses that are not like MIT for the runtime libraries
1 parent 2ed1f47 commit dd70015

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/tools/tidy/src/deps.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,15 @@ mod proc_macro_deps;
1919
#[rustfmt::skip]
2020
const LICENSES: &[&str] = &[
2121
// tidy-alphabetical-start
22-
"(MIT OR Apache-2.0) AND Unicode-3.0", // unicode_ident (1.0.14)
23-
"(MIT OR Apache-2.0) AND Unicode-DFS-2016", // unicode_ident (1.0.12)
2422
"0BSD OR MIT OR Apache-2.0", // adler2 license
25-
"0BSD",
2623
"Apache-2.0 / MIT",
2724
"Apache-2.0 OR ISC OR MIT",
2825
"Apache-2.0 OR MIT",
2926
"Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT", // wasi license
30-
"Apache-2.0 WITH LLVM-exception",
31-
"Apache-2.0",
3227
"Apache-2.0/MIT",
3328
"BSD-2-Clause OR Apache-2.0 OR MIT", // zerocopy
3429
"BSD-2-Clause OR MIT OR Apache-2.0",
3530
"BSD-3-Clause/MIT",
36-
"CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception",
3731
"CC0-1.0 OR MIT-0 OR Apache-2.0",
3832
"ISC",
3933
"MIT / Apache-2.0",
@@ -46,11 +40,8 @@ const LICENSES: &[&str] = &[
4640
"MIT OR Zlib OR Apache-2.0", // miniz_oxide
4741
"MIT",
4842
"MIT/Apache-2.0",
49-
"Unicode-3.0", // icu4x
50-
"Unicode-DFS-2016", // tinystr
5143
"Unlicense OR MIT",
5244
"Unlicense/MIT",
53-
"Zlib OR Apache-2.0 OR MIT", // tinyvec
5445
// tidy-alphabetical-end
5546
];
5647

@@ -59,11 +50,20 @@ const LICENSES: &[&str] = &[
5950
const LICENSES_TOOLS: &[&str] = &[
6051
// tidy-alphabetical-start
6152
"(Apache-2.0 OR MIT) AND BSD-3-Clause",
53+
"(MIT OR Apache-2.0) AND Unicode-3.0", // unicode_ident (1.0.14)
54+
"(MIT OR Apache-2.0) AND Unicode-DFS-2016", // unicode_ident (1.0.12)
55+
"0BSD",
6256
"Apache-2.0 AND ISC",
6357
"Apache-2.0 OR BSL-1.0", // BSL is not acceptable, but we use it under Apache-2.0
58+
"Apache-2.0 WITH LLVM-exception",
59+
"Apache-2.0",
6460
"BSD-2-Clause",
6561
"BSD-3-Clause",
62+
"CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception",
6663
"CC0-1.0",
64+
"Unicode-3.0", // icu4x
65+
"Unicode-DFS-2016", // tinystr
66+
"Zlib OR Apache-2.0 OR MIT", // tinyvec
6767
"Zlib",
6868
// tidy-alphabetical-end
6969
];

0 commit comments

Comments
 (0)