Skip to content

Commit

Permalink
Use rustls instead of native openssl bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoliaw committed Dec 10, 2024
1 parent 8ba0d3f commit 4445430
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ opentelemetry-otlp = "0.17.0"
opentelemetry-semantic-conventions = "0.16.0"
opentelemetry-stdout = "0.5.0"
opentelemetry_sdk = { version = "0.24.1", features = ["rt-tokio"] }
reqwest = { version = "0.12.7", features = ["json"] }
reqwest = { version = "0.12.7", features = ["json", "rustls-tls-native-roots"], default-features = false }
serde = { version = "1.0.210", features = ["derive"] }
sqlx = { version = "0.8.0", features = ["runtime-tokio", "sqlite"] }
tokio = { version = "1.39.2", features = ["full"] }
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM rust:1.82.0-slim AS build

RUN rustup target add x86_64-unknown-linux-musl && \
apt update && \
apt install -y musl-tools musl-dev && \
apt-get update && \
apt-get install -y musl-tools musl-dev && \
update-ca-certificates

COPY ./Cargo.toml ./Cargo.toml
Expand Down

0 comments on commit 4445430

Please sign in to comment.