From 2c11630e4d1baacff53254c2cbb40ad7262a09a1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 28 Jan 2025 22:06:54 +0000 Subject: [PATCH] Update Rust crate tempfile to v3.16.0 --- Cargo.lock | 50 ++++++++++++++++++----- Cargo.toml | 2 +- crates/crates_io_database_dump/Cargo.toml | 2 +- crates/crates_io_index/Cargo.toml | 2 +- crates/crates_io_smoke_test/Cargo.toml | 2 +- 5 files changed, 44 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c627f0cc693..99531317b68 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2111,10 +2111,22 @@ dependencies = [ "cfg-if", "js-sys", "libc", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "wasm-bindgen", ] +[[package]] +name = "getrandom" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.13.3+wasi-0.2.2", + "windows-targets", +] + [[package]] name = "ghash" version = "0.5.1" @@ -3144,7 +3156,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" dependencies = [ "libc", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.52.0", ] @@ -3281,7 +3293,7 @@ checksum = "51e219e79014df21a225b1860a479e2dcd7cbd9130f4defd4bd0e191ea31d67d" dependencies = [ "base64 0.22.1", "chrono", - "getrandom", + "getrandom 0.2.15", "http 1.2.0", "rand", "reqwest", @@ -3854,7 +3866,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" dependencies = [ "bytes", - "getrandom", + "getrandom 0.2.15", "rand", "ring", "rustc-hash", @@ -3934,7 +3946,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.15", ] [[package]] @@ -4097,7 +4109,7 @@ checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", "cfg-if", - "getrandom", + "getrandom 0.2.15", "libc", "spin", "untrusted", @@ -4878,13 +4890,13 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.15.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a8a559c81686f576e8cd0290cd2a24a2a9ad80c98b3478856500fcbd7acd704" +checksum = "38c246215d7d24f48ae091a2902398798e05d978b24315d6efbc00ede9a8bb91" dependencies = [ "cfg-if", "fastrand", - "getrandom", + "getrandom 0.3.1", "once_cell", "rustix", "windows-sys 0.59.0", @@ -5549,7 +5561,7 @@ version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "744018581f9a3454a9e15beb8a33b017183f1e7c0cd170232a2d1453b23a51c4" dependencies = [ - "getrandom", + "getrandom 0.2.15", "serde", ] @@ -5602,6 +5614,15 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +[[package]] +name = "wasi" +version = "0.13.3+wasi-0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" +dependencies = [ + "wit-bindgen-rt", +] + [[package]] name = "wasite" version = "0.1.0" @@ -5903,6 +5924,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "wit-bindgen-rt" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" +dependencies = [ + "bitflags 2.8.0", +] + [[package]] name = "write16" version = "1.0.0" diff --git a/Cargo.toml b/Cargo.toml index ea72cb1221d..3494a4e6e66 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -113,7 +113,7 @@ serde_json = "=1.0.138" sha2 = "=0.10.8" spdx = "=0.10.8" tar = "=0.4.43" -tempfile = "=3.15.0" +tempfile = "=3.16.0" thiserror = "=2.0.11" tikv-jemallocator = { version = "=0.6.0", features = ['unprefixed_malloc_on_supported_platforms', 'profiling'] } tokio = { version = "=1.43.0", features = ["net", "signal", "io-std", "io-util", "rt-multi-thread", "macros", "process"]} diff --git a/crates/crates_io_database_dump/Cargo.toml b/crates/crates_io_database_dump/Cargo.toml index 6bf504a1ccc..e01fe2c4de2 100644 --- a/crates/crates_io_database_dump/Cargo.toml +++ b/crates/crates_io_database_dump/Cargo.toml @@ -15,7 +15,7 @@ minijinja = "=2.7.0" serde = { version = "=1.0.217", features = ["derive"] } serde_json = "=1.0.138" tar = "=0.4.43" -tempfile = "=3.15.0" +tempfile = "=3.16.0" toml = "=0.8.19" tracing = "=0.1.41" zip = { version = "=2.2.2", default-features = false, features = ["deflate"] } diff --git a/crates/crates_io_index/Cargo.toml b/crates/crates_io_index/Cargo.toml index 52c1b002af8..2a2a7ed639d 100644 --- a/crates/crates_io_index/Cargo.toml +++ b/crates/crates_io_index/Cargo.toml @@ -23,7 +23,7 @@ git2 = "=0.20.0" secrecy = "=0.10.3" serde = { version = "=1.0.217", features = ["derive"] } serde_json = "=1.0.138" -tempfile = "=3.15.0" +tempfile = "=3.16.0" tracing = "=0.1.41" url = "=2.5.4" diff --git a/crates/crates_io_smoke_test/Cargo.toml b/crates/crates_io_smoke_test/Cargo.toml index 7857b5f2079..7f519233231 100644 --- a/crates/crates_io_smoke_test/Cargo.toml +++ b/crates/crates_io_smoke_test/Cargo.toml @@ -18,7 +18,7 @@ secrecy = "=0.10.3" semver = { version = "=1.0.25", features = ["serde"] } serde = { version = "=1.0.217", features = ["derive"] } serde_json = "=1.0.138" -tempfile = "=3.15.0" +tempfile = "=3.16.0" thiserror = "=2.0.11" tokio = { version = "=1.43.0", features = ["fs", "macros", "process", "rt-multi-thread"]} tracing = "=0.1.41"