Skip to content

Commit f4a6682

Browse files
authored
[meta] upgrade progenitor to 0.13, reqwest to 0.13; use progenitor-extras (#9917)
Part of #9824. We need to retain compatibility with progenitor 0.10 for the time being while other repos are updated. Once the upgrades are done and everything's synced up, I'll do a cleanup pass before closing #9824.
1 parent 5552f18 commit f4a6682

55 files changed

Lines changed: 977 additions & 497 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

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

Cargo.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ attest-mock = { git = "https://github.com/oxidecomputer/dice-util", rev = "10952
408408
atomicwrites = "0.4.4"
409409
authz-macros = { path = "nexus/authz-macros" }
410410
backoff = { version = "0.4.0", features = [ "tokio" ] }
411+
backon = { version = "1.6", default-features = false }
411412
base64 = "0.22.1"
412413
bcs = "0.1.6"
413414
bincode = "1.3.3"
@@ -688,8 +689,10 @@ pretty_assertions = "1.4.1"
688689
pretty-hex = "0.4.1"
689690
prettyplease = { version = "0.2.36", features = ["verbatim"] }
690691
proc-macro2 = "1.0"
691-
progenitor = "0.10.0"
692-
progenitor-client = "0.10.0"
692+
progenitor = "0.13.0"
693+
progenitor-client = "0.13.0"
694+
progenitor-extras = "0.1.0"
695+
progenitor-client010 = { package = "progenitor-client", version = "0.10.0" }
693696
# NOTE: if you change the pinned revision of the `bhyve_api` and propolis
694697
# dependencies, you must also update the references in package-manifest.toml to
695698
# match the new revision.
@@ -721,7 +724,8 @@ regex = "1.11.1"
721724
regress = "0.10.4"
722725
repo-depot-api = { path = "sled-agent/repo-depot-api" }
723726
repo-depot-client = { path = "clients/repo-depot-client" }
724-
reqwest = { version = "0.12.22", default-features = false }
727+
reqwest = { version = "0.13", default-features = false }
728+
reqwest012 = { package = "reqwest", version = "0.12", default-features = false }
725729
ring = "0.17.14"
726730
rpassword = "7.4.0"
727731
rstest = "0.25.0"

clients/bootstrap-agent-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ workspace = true
1111
omicron-common.workspace = true
1212
progenitor.workspace = true
1313
regress.workspace = true
14-
reqwest = { workspace = true, features = [ "json", "rustls-tls", "stream" ] }
14+
reqwest = { workspace = true, features = [ "json", "rustls", "stream" ] }
1515
schemars.workspace = true
1616
serde.workspace = true
1717
serde_json.workspace = true

clients/clickhouse-admin-keeper-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ chrono.workspace = true
88
clickhouse-admin-types.workspace = true
99
omicron-uuid-kinds.workspace = true
1010
progenitor.workspace = true
11-
reqwest = { workspace = true, features = [ "json", "rustls-tls", "stream" ] }
11+
reqwest = { workspace = true, features = [ "json", "rustls", "stream" ] }
1212
schemars.workspace = true
1313
serde.workspace = true
1414
slog.workspace = true

clients/clickhouse-admin-server-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ chrono.workspace = true
88
clickhouse-admin-types.workspace = true
99
omicron-uuid-kinds.workspace = true
1010
progenitor.workspace = true
11-
reqwest = { workspace = true, features = [ "json", "rustls-tls", "stream" ] }
11+
reqwest = { workspace = true, features = [ "json", "rustls", "stream" ] }
1212
schemars.workspace = true
1313
serde.workspace = true
1414
slog.workspace = true

clients/clickhouse-admin-single-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ chrono.workspace = true
88
clickhouse-admin-types.workspace = true
99
omicron-uuid-kinds.workspace = true
1010
progenitor.workspace = true
11-
reqwest = { workspace = true, features = [ "json", "rustls-tls", "stream" ] }
11+
reqwest = { workspace = true, features = [ "json", "rustls", "stream" ] }
1212
schemars.workspace = true
1313
serde.workspace = true
1414
slog.workspace = true

clients/cockroach-admin-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ workspace = true
1111
chrono.workspace = true
1212
omicron-uuid-kinds.workspace = true
1313
progenitor.workspace = true
14-
reqwest = { workspace = true, features = [ "json", "rustls-tls", "stream" ] }
14+
reqwest = { workspace = true, features = [ "json", "rustls", "stream" ] }
1515
schemars.workspace = true
1616
serde.workspace = true
1717
slog.workspace = true

clients/ddm-admin-client/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ workspace = true
1111
either.workspace = true
1212
oxnet.workspace = true
1313
progenitor-client.workspace = true
14-
reqwest = { workspace = true, features = ["json", "stream", "rustls-tls"] }
14+
reqwest = { workspace = true, features = ["json", "stream", "rustls"] }
15+
reqwest012 = { workspace = true }
1516
serde.workspace = true
1617
slog.workspace = true
1718
thiserror.workspace = true

clients/ddm-admin-client/src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const DDMD_PORT: u16 = 8000;
3131
#[derive(Debug, Error)]
3232
pub enum DdmError {
3333
#[error("Failed to construct an HTTP client: {0}")]
34-
HttpClient(#[from] reqwest::Error),
34+
HttpClient(#[from] reqwest012::Error),
3535

3636
#[error("Failed making HTTP request to ddmd: {0}")]
3737
DdmdApi(#[from] Error<types::Error>),
@@ -57,7 +57,9 @@ impl Client {
5757
let log =
5858
log.new(slog::o!("DdmAdminClient" => SocketAddr::V6(ddmd_addr)));
5959

60-
let inner = reqwest::ClientBuilder::new()
60+
// Use reqwest012 because the rev-pinned maghemite ddm-admin-client
61+
// is still on reqwest 0.12.
62+
let inner = reqwest012::ClientBuilder::new()
6163
.connect_timeout(dur)
6264
.timeout(dur)
6365
.build()?;

clients/dns-service-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ expectorate.workspace = true
1313
http.workspace = true
1414
internal-dns-types-versions.workspace = true
1515
progenitor.workspace = true
16-
reqwest = { workspace = true, features = ["json", "rustls-tls", "stream"] }
16+
reqwest = { workspace = true, features = ["json", "rustls", "stream"] }
1717
schemars.workspace = true
1818
serde.workspace = true
1919
slog.workspace = true

0 commit comments

Comments
 (0)