Skip to content

Commit 21c2e87

Browse files
committed
add blake3 to permitted deps and licenses
1 parent 347d4f4 commit 21c2e87

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

src/tools/tidy/src/deps.rs

+20-14
Original file line numberDiff line numberDiff line change
@@ -80,20 +80,23 @@ pub(crate) const WORKSPACES: &[(&str, ExceptionList, Option<(&[&str], &[&str])>)
8080
#[rustfmt::skip]
8181
const EXCEPTIONS: ExceptionList = &[
8282
// tidy-alphabetical-start
83-
("ar_archive_writer", "Apache-2.0 WITH LLVM-exception"), // rustc
84-
("colored", "MPL-2.0"), // rustfmt
85-
("dissimilar", "Apache-2.0"), // rustdoc, rustc_lexer (few tests) via expect-test, (dev deps)
86-
("fluent-langneg", "Apache-2.0"), // rustc (fluent translations)
87-
("fortanix-sgx-abi", "MPL-2.0"), // libstd but only for `sgx` target. FIXME: this dependency violates the documentation comment above.
88-
("instant", "BSD-3-Clause"), // rustc_driver/tracing-subscriber/parking_lot
89-
("mdbook", "MPL-2.0"), // mdbook
90-
("option-ext", "MPL-2.0"), // cargo-miri (via `directories`)
91-
("rustc_apfloat", "Apache-2.0 WITH LLVM-exception"), // rustc (license is the same as LLVM uses)
92-
("ryu", "Apache-2.0 OR BSL-1.0"), // BSL is not acceptble, but we use it under Apache-2.0 // cargo/... (because of serde)
93-
("self_cell", "Apache-2.0"), // rustc (fluent translations)
94-
("snap", "BSD-3-Clause"), // rustc
95-
("wasm-encoder", "Apache-2.0 WITH LLVM-exception"), // rustc
96-
("wasmparser", "Apache-2.0 WITH LLVM-exception"), // rustc
83+
("ar_archive_writer", "Apache-2.0 WITH LLVM-exception"), // rustc
84+
("arrayref", "BSD-2-Clause"), // rustc
85+
("blake3", "CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception"), // rustc
86+
("colored", "MPL-2.0"), // rustfmt
87+
("constant_time_eq", "CC0-1.0 OR MIT-0 OR Apache-2.0"), // rustc
88+
("dissimilar", "Apache-2.0"), // rustdoc, rustc_lexer (few tests) via expect-test, (dev deps)
89+
("fluent-langneg", "Apache-2.0"), // rustc (fluent translations)
90+
("fortanix-sgx-abi", "MPL-2.0"), // libstd but only for `sgx` target. FIXME: this dependency violates the documentation comment above.
91+
("instant", "BSD-3-Clause"), // rustc_driver/tracing-subscriber/parking_lot
92+
("mdbook", "MPL-2.0"), // mdbook
93+
("option-ext", "MPL-2.0"), // cargo-miri (via `directories`)
94+
("rustc_apfloat", "Apache-2.0 WITH LLVM-exception"), // rustc (license is the same as LLVM uses)
95+
("ryu", "Apache-2.0 OR BSL-1.0"), // BSL is not acceptble, but we use it under Apache-2.0 // cargo/... (because of serde)
96+
("self_cell", "Apache-2.0"), // rustc (fluent translations)
97+
("snap", "BSD-3-Clause"), // rustc
98+
("wasm-encoder", "Apache-2.0 WITH LLVM-exception"), // rustc
99+
("wasmparser", "Apache-2.0 WITH LLVM-exception"), // rustc
97100
// tidy-alphabetical-end
98101
];
99102

@@ -230,15 +233,18 @@ const PERMITTED_RUSTC_DEPENDENCIES: &[&str] = &[
230233
"annotate-snippets",
231234
"anstyle",
232235
"ar_archive_writer",
236+
"arrayref",
233237
"arrayvec",
234238
"autocfg",
235239
"bitflags",
240+
"blake3",
236241
"block-buffer",
237242
"byteorder", // via ruzstd in object in thorin-dwp
238243
"cc",
239244
"cfg-if",
240245
"cfg_aliases",
241246
"compiler_builtins",
247+
"constant_time_eq",
242248
"cpufeatures",
243249
"crc32fast",
244250
"crossbeam-channel",

0 commit comments

Comments
 (0)