Roll quote: 1.0.39 => 1.0.40 in //third_party/rust.
This CL has been created semi-automatically. The expected review process and other details can be found at //tools/crates/create_update_cl.md Updated crates: * quote: 1.0.39 => 1.0.40 Chromium `supply-chain/config.toml` policy requires that the following audit criteria are met (note that these are the *minimum* required criteria and `supply-chain/audits.toml` can and should record a stricter certification if possible; see also //docs/rust-unsafe.md): * quote@1.0.40: crypto-safe, safe-to-deploy, ub-risk-2 Bug: None Change-Id: Iab0eef40f8c3fda1630d978dfe88f3b6cd8373ca Cq-Include-Trybots: chromium/try:android-rust-arm32-rel Cq-Include-Trybots: chromium/try:android-rust-arm64-dbg Cq-Include-Trybots: chromium/try:android-rust-arm64-rel Cq-Include-Trybots: chromium/try:linux-rust-x64-dbg Cq-Include-Trybots: chromium/try:linux-rust-x64-rel Cq-Include-Trybots: chromium/try:win-rust-x64-dbg Cq-Include-Trybots: chromium/try:win-rust-x64-rel Disable-Rts: True Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6352976 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/main@{#1432436}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
b717747fa4
commit
74694f4564
infra
third_party/rust
chromium_crates_io
Cargo.lock
supply-chain
vendor
quote-1.0.39
quote-1.0.40
.cargo-checksum.json.cargo_vcs_info.json
.github
.gitignoreCargo.lockCargo.tomlCargo.toml.origLICENSE-APACHELICENSE-MITREADME.mdrust-toolchain.tomlsrc
tests
compiletest.rstest.rs
ui
does-not-have-iter-interpolated-dup.rsdoes-not-have-iter-interpolated-dup.stderrdoes-not-have-iter-interpolated.rsdoes-not-have-iter-interpolated.stderrdoes-not-have-iter-separated.rsdoes-not-have-iter-separated.stderrdoes-not-have-iter.rsdoes-not-have-iter.stderrnot-quotable.rsnot-quotable.stderrnot-repeatable.rsnot-repeatable.stderrwrong-type-span.rswrong-type-span.stderr
quote
@ -716,8 +716,8 @@ third_party/rust/chromium_crates_io/vendor/proc-macro2-1.0.94 1 1
|
||||
third_party/rust/chromium_crates_io/vendor/proc-macro2-1.0.94/.github/workflows 2 1
|
||||
third_party/rust/chromium_crates_io/vendor/prost-0.13.5 2 1
|
||||
third_party/rust/chromium_crates_io/vendor/qr_code-2.0.0 1 1
|
||||
third_party/rust/chromium_crates_io/vendor/quote-1.0.39 1 1
|
||||
third_party/rust/chromium_crates_io/vendor/quote-1.0.39/.github/workflows 2 1
|
||||
third_party/rust/chromium_crates_io/vendor/quote-1.0.40 1 1
|
||||
third_party/rust/chromium_crates_io/vendor/quote-1.0.40/.github/workflows 2 1
|
||||
third_party/rust/chromium_crates_io/vendor/rand-0.8.5 9 2
|
||||
third_party/rust/chromium_crates_io/vendor/rand_chacha-0.3.1 4 1
|
||||
third_party/rust/chromium_crates_io/vendor/rand_core-0.6.4 4 1
|
||||
|
2
third_party/rust/chromium_crates_io/Cargo.lock
generated
vendored
2
third_party/rust/chromium_crates_io/Cargo.lock
generated
vendored
@ -1005,7 +1005,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "quote"
|
||||
version = "1.0.39"
|
||||
version = "1.0.40"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
|
@ -2762,6 +2762,15 @@ criteria = ["safe-to-deploy", "does-not-implement-crypto", "ub-risk-0"]
|
||||
delta = "1.0.38 -> 1.0.39"
|
||||
notes = "Only minor changes for clippy lints and documentation."
|
||||
|
||||
[[audits.quote]]
|
||||
who = "Lukasz Anforowicz <lukasza@chromium.org>"
|
||||
criteria = ["safe-to-deploy", "does-not-implement-crypto", "ub-risk-0"]
|
||||
delta = "1.0.39 -> 1.0.40"
|
||||
notes = """
|
||||
The delta is just a simplification of how `tokens.extend(...)` call is made.
|
||||
Still no `unsafe` anywhere.
|
||||
"""
|
||||
|
||||
[[audits.rand]]
|
||||
who = "danakj@chromium.org"
|
||||
criteria = ["safe-to-run", "does-not-implement-crypto"]
|
||||
|
@ -347,7 +347,7 @@ criteria = ["crypto-safe", "safe-to-run"]
|
||||
[policy."qr_code:2.0.0"]
|
||||
criteria = ["crypto-safe", "safe-to-deploy", "ub-risk-2"]
|
||||
|
||||
[policy."quote:1.0.39"]
|
||||
[policy."quote:1.0.40"]
|
||||
criteria = ["crypto-safe", "safe-to-deploy", "ub-risk-2"]
|
||||
|
||||
[policy."rand:0.8.5"]
|
||||
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"git": {
|
||||
"sha1": "7d089f5d42c58bd194401c59f20a6ab689bc47ec"
|
||||
},
|
||||
"path_in_vcs": ""
|
||||
}
|
6
third_party/rust/chromium_crates_io/vendor/quote-1.0.40/.cargo_vcs_info.json
vendored
Normal file
6
third_party/rust/chromium_crates_io/vendor/quote-1.0.40/.cargo_vcs_info.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"git": {
|
||||
"sha1": "ab1e92c27a492e6077e203a6f85496bb4b1522e8"
|
||||
},
|
||||
"path_in_vcs": ""
|
||||
}
|
54
third_party/rust/chromium_crates_io/vendor/quote-1.0.39/Cargo.lock → third_party/rust/chromium_crates_io/vendor/quote-1.0.40/Cargo.lock
generated
vendored
54
third_party/rust/chromium_crates_io/vendor/quote-1.0.39/Cargo.lock → third_party/rust/chromium_crates_io/vendor/quote-1.0.40/Cargo.lock
generated
vendored
@ -4,9 +4,9 @@ version = 3
|
||||
|
||||
[[package]]
|
||||
name = "dissimilar"
|
||||
version = "1.0.9"
|
||||
version = "1.0.10"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "59f8e79d1fbf76bdfbde321e902714bf6c49df88a7dda6fc682fc2979226962d"
|
||||
checksum = "8975ffdaa0ef3661bfe02dbdcc06c9f829dfafe6a3c474de366a8d5e44276921"
|
||||
|
||||
[[package]]
|
||||
name = "equivalent"
|
||||
@ -28,9 +28,9 @@ checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
|
||||
|
||||
[[package]]
|
||||
name = "indexmap"
|
||||
version = "2.7.1"
|
||||
version = "2.8.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652"
|
||||
checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058"
|
||||
dependencies = [
|
||||
"equivalent",
|
||||
"hashbrown",
|
||||
@ -38,9 +38,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "itoa"
|
||||
version = "1.0.14"
|
||||
version = "1.0.15"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
|
||||
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
|
||||
|
||||
[[package]]
|
||||
name = "memchr"
|
||||
@ -59,16 +59,16 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "quote"
|
||||
version = "1.0.38"
|
||||
version = "1.0.39"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
|
||||
checksum = "c1f1914ce909e1658d9907913b4b91947430c7d9be598b15a1912935b8c04801"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quote"
|
||||
version = "1.0.39"
|
||||
version = "1.0.40"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"rustversion",
|
||||
@ -77,41 +77,41 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rustversion"
|
||||
version = "1.0.19"
|
||||
version = "1.0.20"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4"
|
||||
checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
|
||||
|
||||
[[package]]
|
||||
name = "ryu"
|
||||
version = "1.0.19"
|
||||
version = "1.0.20"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6ea1a2d0a644769cc99faa24c3ad26b379b786fe7c36fd3c546254801650e6dd"
|
||||
checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
|
||||
|
||||
[[package]]
|
||||
name = "serde"
|
||||
version = "1.0.218"
|
||||
version = "1.0.219"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e8dfc9d19bdbf6d17e22319da49161d5d0108e4188e8b680aef6299eed22df60"
|
||||
checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
|
||||
dependencies = [
|
||||
"serde_derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_derive"
|
||||
version = "1.0.218"
|
||||
version = "1.0.219"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f09503e191f4e797cb8aac08e9a4a4695c5edf6a2e70e376d961ddd5c969f82b"
|
||||
checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote 1.0.38",
|
||||
"quote 1.0.39",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_json"
|
||||
version = "1.0.139"
|
||||
version = "1.0.140"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "44f86c3acccc9c65b153fe1b85a3be07fe5515274ec9f0653b4a0875731c72a6"
|
||||
checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
|
||||
dependencies = [
|
||||
"itoa",
|
||||
"memchr",
|
||||
@ -130,12 +130,12 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "syn"
|
||||
version = "2.0.98"
|
||||
version = "2.0.100"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1"
|
||||
checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote 1.0.38",
|
||||
"quote 1.0.39",
|
||||
"unicode-ident",
|
||||
]
|
||||
|
||||
@ -190,9 +190,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "trybuild"
|
||||
version = "1.0.103"
|
||||
version = "1.0.104"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b812699e0c4f813b872b373a4471717d9eb550da14b311058a4d9cf4173cbca6"
|
||||
checksum = "6ae08be68c056db96f0e6c6dd820727cca756ced9e1f4cc7fdd20e2a55e23898"
|
||||
dependencies = [
|
||||
"dissimilar",
|
||||
"glob",
|
||||
@ -206,9 +206,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "unicode-ident"
|
||||
version = "1.0.17"
|
||||
version = "1.0.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "00e2473a93778eb0bad35909dff6a10d28e63f792f16ed15e404fca9d5eeedbe"
|
||||
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
|
||||
|
||||
[[package]]
|
||||
name = "winapi-util"
|
@ -13,7 +13,7 @@
|
||||
edition = "2018"
|
||||
rust-version = "1.56"
|
||||
name = "quote"
|
||||
version = "1.0.39"
|
||||
version = "1.0.40"
|
||||
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
||||
build = false
|
||||
autolib = false
|
2
third_party/rust/chromium_crates_io/vendor/quote-1.0.39/Cargo.toml.orig → third_party/rust/chromium_crates_io/vendor/quote-1.0.40/Cargo.toml.orig
generated
vendored
2
third_party/rust/chromium_crates_io/vendor/quote-1.0.39/Cargo.toml.orig → third_party/rust/chromium_crates_io/vendor/quote-1.0.40/Cargo.toml.orig
generated
vendored
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "quote"
|
||||
version = "1.0.39"
|
||||
version = "1.0.40"
|
||||
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
||||
autobenches = false
|
||||
categories = ["development-tools::procedural-macro-helpers"]
|
@ -89,7 +89,7 @@
|
||||
//! [prettyplease]: https://github.com/dtolnay/prettyplease
|
||||
|
||||
// Quote types in rustdoc of other crates get linked to here.
|
||||
#![doc(html_root_url = "https://docs.rs/quote/1.0.39")]
|
||||
#![doc(html_root_url = "https://docs.rs/quote/1.0.40")]
|
||||
#![allow(
|
||||
clippy::doc_markdown,
|
||||
clippy::elidable_lifetime_names,
|
@ -305,68 +305,22 @@ pub fn push_ident_spanned(tokens: &mut TokenStream, span: Span, s: &str) {
|
||||
|
||||
#[doc(hidden)]
|
||||
pub fn push_lifetime(tokens: &mut TokenStream, lifetime: &str) {
|
||||
struct Lifetime<'a> {
|
||||
name: &'a str,
|
||||
state: u8,
|
||||
}
|
||||
|
||||
impl<'a> Iterator for Lifetime<'a> {
|
||||
type Item = TokenTree;
|
||||
|
||||
fn next(&mut self) -> Option<Self::Item> {
|
||||
match self.state {
|
||||
0 => {
|
||||
self.state = 1;
|
||||
Some(TokenTree::Punct(Punct::new('\'', Spacing::Joint)))
|
||||
}
|
||||
1 => {
|
||||
self.state = 2;
|
||||
Some(TokenTree::Ident(Ident::new(self.name, Span::call_site())))
|
||||
}
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tokens.extend(Lifetime {
|
||||
name: &lifetime[1..],
|
||||
state: 0,
|
||||
});
|
||||
tokens.extend([
|
||||
TokenTree::Punct(Punct::new('\'', Spacing::Joint)),
|
||||
TokenTree::Ident(Ident::new(&lifetime[1..], Span::call_site())),
|
||||
]);
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
pub fn push_lifetime_spanned(tokens: &mut TokenStream, span: Span, lifetime: &str) {
|
||||
struct Lifetime<'a> {
|
||||
name: &'a str,
|
||||
span: Span,
|
||||
state: u8,
|
||||
}
|
||||
|
||||
impl<'a> Iterator for Lifetime<'a> {
|
||||
type Item = TokenTree;
|
||||
|
||||
fn next(&mut self) -> Option<Self::Item> {
|
||||
match self.state {
|
||||
0 => {
|
||||
self.state = 1;
|
||||
let mut apostrophe = Punct::new('\'', Spacing::Joint);
|
||||
apostrophe.set_span(self.span);
|
||||
Some(TokenTree::Punct(apostrophe))
|
||||
}
|
||||
1 => {
|
||||
self.state = 2;
|
||||
Some(TokenTree::Ident(Ident::new(self.name, self.span)))
|
||||
}
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tokens.extend(Lifetime {
|
||||
name: &lifetime[1..],
|
||||
span,
|
||||
state: 0,
|
||||
});
|
||||
tokens.extend([
|
||||
TokenTree::Punct({
|
||||
let mut apostrophe = Punct::new('\'', Spacing::Joint);
|
||||
apostrophe.set_span(span);
|
||||
apostrophe
|
||||
}),
|
||||
TokenTree::Ident(Ident::new(&lifetime[1..], span)),
|
||||
]);
|
||||
}
|
||||
|
||||
macro_rules! push_punct {
|
18
third_party/rust/quote/v1/BUILD.gn
vendored
18
third_party/rust/quote/v1/BUILD.gn
vendored
@ -13,21 +13,21 @@ cargo_crate("lib") {
|
||||
epoch = "1"
|
||||
crate_type = "rlib"
|
||||
crate_root =
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.39/src/lib.rs"
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.40/src/lib.rs"
|
||||
sources = [
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.39/src/ext.rs",
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.39/src/format.rs",
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.39/src/ident_fragment.rs",
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.39/src/lib.rs",
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.39/src/runtime.rs",
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.39/src/spanned.rs",
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.39/src/to_tokens.rs",
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.40/src/ext.rs",
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.40/src/format.rs",
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.40/src/ident_fragment.rs",
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.40/src/lib.rs",
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.40/src/runtime.rs",
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.40/src/spanned.rs",
|
||||
"//third_party/rust/chromium_crates_io/vendor/quote-1.0.40/src/to_tokens.rs",
|
||||
]
|
||||
inputs = []
|
||||
|
||||
build_native_rust_unit_tests = false
|
||||
edition = "2018"
|
||||
cargo_pkg_version = "1.0.39"
|
||||
cargo_pkg_version = "1.0.40"
|
||||
cargo_pkg_authors = "David Tolnay <dtolnay@gmail.com>"
|
||||
cargo_pkg_name = "quote"
|
||||
cargo_pkg_description = "Quasi-quoting macro quote!(...)"
|
||||
|
6
third_party/rust/quote/v1/README.chromium
vendored
6
third_party/rust/quote/v1/README.chromium
vendored
@ -1,9 +1,9 @@
|
||||
Name: quote
|
||||
URL: https://crates.io/crates/quote
|
||||
Version: 1.0.39
|
||||
Revision: 7d089f5d42c58bd194401c59f20a6ab689bc47ec
|
||||
Version: 1.0.40
|
||||
Revision: ab1e92c27a492e6077e203a6f85496bb4b1522e8
|
||||
License: Apache-2.0
|
||||
License File: //third_party/rust/chromium_crates_io/vendor/quote-1.0.39/LICENSE-APACHE
|
||||
License File: //third_party/rust/chromium_crates_io/vendor/quote-1.0.40/LICENSE-APACHE
|
||||
Shipped: yes
|
||||
Security Critical: yes
|
||||
|
||||
|
Reference in New Issue
Block a user