Skip to content

Commit

Permalink
Add Rust TLS Feature Flag For opentelemetry-http (#1638)
Browse files Browse the repository at this point in the history
Similar issue to what #472 but for opentelemetry-http
Please provide a brief description of the changes here.
Added new feature flag for the opentelemetry-http crate to enable rustls instead of openssl
  • Loading branch information
LuisOsta authored Mar 25, 2024
1 parent 815e387 commit 936c466
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions opentelemetry-http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## vNext
- Add feature flag enabling users to configure `reqwest` usage to use rustls via `reqwest/rustls-tls` feature flag

## v0.11.0

Expand Down
3 changes: 3 additions & 0 deletions opentelemetry-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ license = "Apache-2.0"
edition = "2021"
rust-version = "1.65"

[features]
reqwest-rustls = ["reqwest", "reqwest/rustls-tls-native-roots"]

[dependencies]
async-trait = { workspace = true }
bytes = { workspace = true }
Expand Down

0 comments on commit 936c466

Please sign in to comment.