Skip to content

Commit d80d73e

Browse files
committed
add blake3 to permitted deps and licenses
1 parent 9464a6f commit d80d73e

File tree

1 file changed

+24
-18
lines changed

1 file changed

+24
-18
lines changed

src/tools/tidy/src/deps.rs

+24-18
Original file line numberDiff line numberDiff line change
@@ -82,25 +82,28 @@ pub(crate) const WORKSPACES: &[(&str, ExceptionList, Option<(&[&str], &[&str])>)
8282
#[rustfmt::skip]
8383
const EXCEPTIONS: ExceptionList = &[
8484
// tidy-alphabetical-start
85-
("ar_archive_writer", "Apache-2.0 WITH LLVM-exception"), // rustc
86-
("colored", "MPL-2.0"), // rustfmt
87-
("dissimilar", "Apache-2.0"), // rustdoc, rustc_lexer (few tests) via expect-test, (dev deps)
88-
("fluent-langneg", "Apache-2.0"), // rustc (fluent translations)
89-
("fortanix-sgx-abi", "MPL-2.0"), // libstd but only for `sgx` target. FIXME: this dependency violates the documentation comment above.
90-
("instant", "BSD-3-Clause"), // rustc_driver/tracing-subscriber/parking_lot
91-
("mdbook", "MPL-2.0"), // mdbook
92-
("option-ext", "MPL-2.0"), // cargo-miri (via `directories`)
93-
("rustc_apfloat", "Apache-2.0 WITH LLVM-exception"), // rustc (license is the same as LLVM uses)
85+
("ar_archive_writer", "Apache-2.0 WITH LLVM-exception"), // rustc
86+
("arrayref", "BSD-2-Clause"), // rustc
87+
("blake3", "CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception"), // rustc
88+
("colored", "MPL-2.0"), // rustfmt
89+
("constant_time_eq", "CC0-1.0 OR MIT-0 OR Apache-2.0"), // rustc
90+
("dissimilar", "Apache-2.0"), // rustdoc, rustc_lexer (few tests) via expect-test, (dev deps)
91+
("fluent-langneg", "Apache-2.0"), // rustc (fluent translations)
92+
("fortanix-sgx-abi", "MPL-2.0"), // libstd but only for `sgx` target. FIXME: this dependency violates the documentation comment above.
93+
("instant", "BSD-3-Clause"), // rustc_driver/tracing-subscriber/parking_lot
94+
("mdbook", "MPL-2.0"), // mdbook
95+
("option-ext", "MPL-2.0"), // cargo-miri (via `directories`)
96+
("rustc_apfloat", "Apache-2.0 WITH LLVM-exception"), // rustc (license is the same as LLVM uses)
9497
("ryu", "Apache-2.0 OR BSL-1.0"), // BSL is not acceptble, but we use it under Apache-2.0 // cargo/... (because of serde)
95-
("self_cell", "Apache-2.0"), // rustc (fluent translations)
96-
("snap", "BSD-3-Clause"), // rustc
97-
("wasm-encoder", "Apache-2.0 WITH LLVM-exception"), // rustc
98-
("wasm-metadata", "Apache-2.0 WITH LLVM-exception"), // rustc
99-
("wasmparser", "Apache-2.0 WITH LLVM-exception"), // rustc
100-
("wast", "Apache-2.0 WITH LLVM-exception"), // rustc
101-
("wat", "Apache-2.0 WITH LLVM-exception"), // rustc
102-
("wit-component", "Apache-2.0 WITH LLVM-exception"), // rustc
103-
("wit-parser", "Apache-2.0 WITH LLVM-exception"), // rustc
98+
("self_cell", "Apache-2.0"), // rustc (fluent translations)
99+
("snap", "BSD-3-Clause"), // rustc
100+
("wasm-encoder", "Apache-2.0 WITH LLVM-exception"), // rustc
101+
("wasm-metadata", "Apache-2.0 WITH LLVM-exception"), // rustc
102+
("wasmparser", "Apache-2.0 WITH LLVM-exception"), // rustc
103+
("wast", "Apache-2.0 WITH LLVM-exception"), // rustc
104+
("wat", "Apache-2.0 WITH LLVM-exception"), // rustc
105+
("wit-component", "Apache-2.0 WITH LLVM-exception"), // rustc
106+
("wit-parser", "Apache-2.0 WITH LLVM-exception"), // rustc
104107
// tidy-alphabetical-end
105108
];
106109

@@ -237,15 +240,18 @@ const PERMITTED_RUSTC_DEPENDENCIES: &[&str] = &[
237240
"annotate-snippets",
238241
"anstyle",
239242
"ar_archive_writer",
243+
"arrayref",
240244
"arrayvec",
241245
"autocfg",
242246
"bitflags",
247+
"blake3",
243248
"block-buffer",
244249
"byteorder", // via ruzstd in object in thorin-dwp
245250
"cc",
246251
"cfg-if",
247252
"cfg_aliases",
248253
"compiler_builtins",
254+
"constant_time_eq",
249255
"cpufeatures",
250256
"crc32fast",
251257
"crossbeam-channel",

0 commit comments

Comments
 (0)