Skip to content

Commit e8747ca

Browse files
committed
arbitrary package upgrades
1 parent 7d53065 commit e8747ca

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,26 @@ serde_json = "1.0"
2828
scopeguard = "1.0.0"
2929
lazy_static = "1.0.0"
3030
tempfile = "3.0.0"
31-
attohttpc = "0.28.0"
31+
attohttpc = "0.30.1"
3232
flate2 = "1"
3333
tar = "0.4.0"
3434
percent-encoding = "2.1.0"
3535
walkdir = "2.2"
36-
toml = "0.8.12"
36+
toml = "0.9.8"
3737
fs2 = "0.4.3"
38-
remove_dir_all = "0.8.2"
38+
remove_dir_all = "1.0.0"
3939
base64 = "0.22.0"
40-
getrandom = { version = "0.2", features = ["std"] }
41-
thiserror = "1.0.20"
42-
git2 = "0.19.0"
40+
getrandom = { version = "0.3.4", features = ["std"] }
41+
thiserror = "2.0.17"
42+
git2 = "0.20.2"
4343

4444
[target.'cfg(unix)'.dependencies]
45-
nix = { version = "0.29.0", features = ["signal", "user"]}
45+
nix = { version = "0.30.0", features = ["signal", "user"]}
4646

4747
[target.'cfg(windows)'.dependencies]
4848
windows-sys = {version = "0.52.0", features = ["Win32_Foundation", "Win32_System_Threading"]}
4949

5050
[dev-dependencies]
5151
env_logger = "0.11.3"
52-
rand = "0.8.5"
52+
rand = "0.9.2"
5353
tiny_http = "0.12.0"

src/inside_docker.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::cmd::Command;
22
use crate::workspace::Workspace;
33
use base64::{engine::general_purpose::STANDARD as b64, Engine};
4-
use getrandom::getrandom;
4+
use getrandom::fill;
55
use log::info;
66

77
static PROBE_FILENAME: &str = "rustwide-probe";
@@ -51,7 +51,7 @@ pub(crate) fn probe_container_id(workspace: &Workspace) -> anyhow::Result<Option
5151
let probe_path = std::env::temp_dir().join(PROBE_FILENAME);
5252
let probe_path_str = probe_path.to_str().unwrap();
5353
let mut probe_content = [0u8; 64];
54-
getrandom(&mut probe_content)?;
54+
fill(&mut probe_content)?;
5555
let probe_content = b64.encode(&probe_content[..]);
5656
std::fs::write(&probe_path, probe_content.as_bytes())?;
5757

tests/buildtest/runner.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use rand::{distributions::Alphanumeric, Rng};
1+
use rand::{distr::Alphanumeric, Rng};
22
use rustwide::{cmd::SandboxBuilder, Build, BuildBuilder, Crate, Toolchain, Workspace};
33
use std::path::Path;
44

@@ -41,7 +41,7 @@ impl Runner {
4141
f: impl FnOnce(BuildBuilder) -> anyhow::Result<T>,
4242
) -> anyhow::Result<T> {
4343
// Use a random string at the end to avoid conflicts if multiple tests use the same source crate.
44-
let suffix: String = rand::thread_rng()
44+
let suffix: String = rand::rng()
4545
.sample_iter(&Alphanumeric)
4646
.take(10)
4747
.map(char::from)

0 commit comments

Comments
 (0)