Skip to content

Commit 518707a

Browse files
committed
chore: drop unused reqwest http3 feature and reqwest_unstable flag
Probes now use quinn/h3 directly and the Mimir push is HTTP/1.1 or HTTP/2, so reqwest's http3 feature is unused. Removing it also removes the need for the `--cfg reqwest_unstable` build flag, so drop it from the Dockerfile. The RUSTFLAGS export in devbox.json is left alone (it carries an unrelated pending change); the flag is now a harmless no-op there and can be removed with that change.
1 parent 4ce52ed commit 518707a

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

oxybox/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ edition = "2024"
1414

1515
[dependencies]
1616
tokio = { version = "1", features = ["full"] }
17-
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "http2", "http3"] }
17+
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "http2"] }
1818
x509-parser = "0.18"
1919
url = "2"
2020
prost = "0.14"

oxybox/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# Dockerfile for building the Oxybox application using Rust and musl
22
FROM clux/muslrust:stable
33

4-
# Set the environment variables for the build
5-
# We're using the reqwest unstable feature HTTP3
6-
ENV RUSTFLAGS='--cfg reqwest_unstable'
74
RUN mkdir /source
85
WORKDIR /source
96
COPY ./Cargo.toml .

0 commit comments

Comments
 (0)