Update cargo

This also adds three license exceptions to Cargo.

* arrayref — BSD-2-Clause
* blake3 — CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception
* constant_time_eq — CC0-1.0 OR MIT-0 OR Apache-2.0

These exceptions were added to rustc in rust-lang/rust#126930,
so should be fine for Cargo as well.
This commit is contained in:
Weihang Lo 2024-10-08 19:14:49 -04:00
parent a49aefcd8b
commit 7018a99172
No known key found for this signature in database
GPG Key ID: D7DBF189825E82E7
2 changed files with 4 additions and 1 deletions

@ -1 +1 @@
Subproject commit ad074abe3a18ce8444c06f962ceecfd056acfc73 Subproject commit 15fbd2f607d4defc87053b8b76bf5038f2483cf4

View File

@ -129,11 +129,14 @@
const EXCEPTIONS_CARGO: ExceptionList = &[ const EXCEPTIONS_CARGO: ExceptionList = &[
// tidy-alphabetical-start // tidy-alphabetical-start
("arrayref", "BSD-2-Clause"),
("bitmaps", "MPL-2.0+"), ("bitmaps", "MPL-2.0+"),
("blake3", "CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception"),
("bytesize", "Apache-2.0"), ("bytesize", "Apache-2.0"),
("ciborium", "Apache-2.0"), ("ciborium", "Apache-2.0"),
("ciborium-io", "Apache-2.0"), ("ciborium-io", "Apache-2.0"),
("ciborium-ll", "Apache-2.0"), ("ciborium-ll", "Apache-2.0"),
("constant_time_eq", "CC0-1.0 OR MIT-0 OR Apache-2.0"),
("dunce", "CC0-1.0 OR MIT-0 OR Apache-2.0"), ("dunce", "CC0-1.0 OR MIT-0 OR Apache-2.0"),
("encoding_rs", "(Apache-2.0 OR MIT) AND BSD-3-Clause"), ("encoding_rs", "(Apache-2.0 OR MIT) AND BSD-3-Clause"),
("fiat-crypto", "MIT OR Apache-2.0 OR BSD-1-Clause"), ("fiat-crypto", "MIT OR Apache-2.0 OR BSD-1-Clause"),