Skip to content

Commit 853772f

Browse files
committed
update deps
1 parent 0bdc651 commit 853772f

File tree

8 files changed

+921
-472
lines changed

8 files changed

+921
-472
lines changed

Cargo.lock

Lines changed: 912 additions & 448 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pem = "3"
5858
percent-encoding = "2.1"
5959
progenitor = { version = "0.9.1" }
6060
progenitor-client = { version = "0.9.1" }
61-
rand = "0.8"
61+
rand = "0.9"
6262
regex = "1"
6363
reqwest = { version = "0.12", features = [ "json", "stream" ] }
6464
rust-toolchain-file = "0.1"
@@ -79,7 +79,7 @@ slog-bunyan = "2.4"
7979
slog-term = "2.7"
8080
smf = { git = "https://github.com/illumos/smf-rs.git" }
8181
strip-ansi-escapes = "0.2"
82-
strum = { version = "0.26", features = [ "derive" ] }
82+
strum = { version = "0.27", features = [ "derive" ] }
8383
tempfile = "3.3"
8484
thiserror = "2"
8585
tlvc = { git = "https://github.com/oxidecomputer/tlvc", version = "0.3.1" }

common/src/lib.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Oxide Computer Company
2+
* Copyright 2025 Oxide Computer Company
33
*/
44

55
use std::io::{IsTerminal, Read};
@@ -9,8 +9,8 @@ use std::time::Duration;
99

1010
use anyhow::Result;
1111
use chrono::prelude::*;
12-
use rand::distributions::Alphanumeric;
13-
use rand::{thread_rng, Rng};
12+
use rand::distr::Alphanumeric;
13+
use rand::{rng, Rng};
1414
use regex::Regex;
1515
use rusty_ulid::Ulid;
1616
use serde::{Deserialize, Serialize};
@@ -66,11 +66,7 @@ pub async fn sleep_ms(ms: u64) {
6666
}
6767

6868
pub fn genkey(len: usize) -> String {
69-
thread_rng()
70-
.sample_iter(&Alphanumeric)
71-
.take(len)
72-
.map(|c| c as char)
73-
.collect()
69+
rng().sample_iter(&Alphanumeric).take(len).map(|c| c as char).collect()
7470
}
7571

7672
pub trait UlidDateExt {

factory/aws/src/aws.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ pub(crate) async fn aws_worker(c: Arc<Central>) -> Result<()> {
603603
"config-file",
604604
);
605605

606-
let cfg = aws_config::defaults(BehaviorVersion::v2024_03_28())
606+
let cfg = aws_config::defaults(BehaviorVersion::v2025_01_17())
607607
.region(region)
608608
.credentials_provider(creds)
609609
.load()

github/ghtool/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ vendored-openssl = ['openssl/vendored']
1111
[dependencies]
1212
buildomat-common = { path = "../../common" }
1313
buildomat-github-client = { path = "../client" }
14-
buildomat-github-hooktypes = { path = "../hooktypes" }
1514

1615
anyhow = { workspace = true }
1716
base64 = { workspace = true }

jobsh/Cargo.toml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,8 @@ edition = "2021"
55
license = "MPL-2.0"
66

77
[dependencies]
8-
buildomat-bunyan = { path = "../bunyan" }
98
buildomat-client = { path = "../client" }
109
buildomat-common = { path = "../common" }
11-
buildomat-download = { path = "../download" }
12-
#buildomat-github-client = { path = "../client" }
13-
#buildomat-github-database = { path = "../database" }
14-
#buildomat-github-hooktypes = { path = "../hooktypes" }
1510
buildomat-sse = { path = "../sse" }
1611

1712
ansi-to-html = { workspace = true }
@@ -20,21 +15,16 @@ base64 = { workspace = true }
2015
chrono = { workspace = true }
2116
dropshot = { workspace = true }
2217
futures = { workspace = true }
23-
hmac-sha256 = { workspace = true }
2418
html-escape = { workspace = true }
2519
hyper = { workspace = true }
26-
pem = { workspace = true }
2720
reqwest = { workspace = true }
2821
rust-toolchain-file = { workspace = true }
2922
rusty_ulid = { workspace = true }
3023
schemars = { workspace = true }
3124
serde = { workspace = true }
3225
serde_json = { workspace = true }
3326
slog = { workspace = true }
34-
strip-ansi-escapes = { workspace = true }
35-
tempfile = { workspace = true }
3627
thiserror = { workspace = true }
3728
tokio = { workspace = true }
3829
tokio-util = { workspace = true }
3930
toml = { workspace = true }
40-
usdt = { workspace = true }

server/src/archive/jobs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ impl LoadedArchivedJob {
571571
self.offset_events.checked_add(offset).unwrap(),
572572
)?;
573573
let mut out: Vec<ArchivedEvent> = Default::default();
574-
while out.len() < limit.try_into().unwrap() {
574+
while out.len() < usize::try_from(limit).unwrap() {
575575
let Some(evnt) = &tw.next_with_tag_as_string_opt(*b"EVNT")? else {
576576
break;
577577
};

server/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ async fn main() -> Result<()> {
10561056
let awscfg = aws_config::ConfigLoader::default()
10571057
.region(config.storage.region())
10581058
.credentials_provider(config.storage.creds())
1059-
.behavior_version(aws_config::BehaviorVersion::v2024_03_28())
1059+
.behavior_version(aws_config::BehaviorVersion::v2025_01_17())
10601060
.load()
10611061
.await;
10621062
let s3 = aws_sdk_s3::Client::new(&awscfg);

0 commit comments

Comments
 (0)