Skip to content

Commit 00c067c

Browse files
committed
reqwest native-tls-vendored only for musl builds
we adjusted the dependency list of only activate the **native-tls-vendored** feature from reqwest for the musl based target. The motivation is resolve the building issues (on github actions) where openssl-sys was not able to work with the openssl installation from Ubuntu.
1 parent fb7d8f8 commit 00c067c

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "http_status_code_check"
3-
version = "0.1.3"
3+
version = "0.1.4"
44
edition = "2021"
55
authors = ["Ramon Moraes <[email protected]>"]
66
description = "dead simple binary to check http status code returned from health-check endpoint."
@@ -10,6 +10,11 @@ homepage = "https://github.com/rmoraes92/http_status_code_check"
1010

1111
[dependencies]
1212
clap = { version = "4.5.27", features = ["derive"] }
13+
14+
[target.x86_64-unknown-linux-gnu.dependencies]
15+
reqwest = { version = "0.12.12", features = ["blocking"] }
16+
17+
[target.x86_64-unknown-linux-musl.dependencies]
1318
reqwest = { version = "0.12.12", features = ["blocking", "native-tls-vendored"] }
1419

1520
[dev-dependencies]

RELEASE.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
# Release Notes for v0.1.2
1+
# Release Notes for v0.1.4
22

3-
testing Github Release CI workflow
3+
- we adjusted the dependency list of only activate the **native-tls-vendored**
4+
feature from reqwest for the musl based target.
5+
6+
motivation is resolve the building issues (on github actions) where openssl-sys
7+
was not able to work with the openssl installation from Ubuntu.

0 commit comments

Comments
 (0)