Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
141 changes: 107 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pingora-http = "0.4.0"
pingora-proxy = "0.4.0"
rand = "0.8.5"
regex = "1.11"
reqwest = { version = "0.12", features = ["blocking", "json"] }
reqwest = { version = "0.12", default-features = false}
rsa = "0.9.7"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand All @@ -49,6 +49,12 @@ futures = "0.3.31"
[target.'cfg(unix)'.dependencies]
libc = "0.2.169"

[target.x86_64-unknown-linux-musl.dependencies]
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "rustls-tls"] }

[features]
default = ["reqwest/native-tls", "reqwest/blocking", "reqwest/json"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. I originally was thinking it would make sense to have a musl feature, but keying it all on the target is great. 👍


[dev-dependencies]
xshell = "0.2.7"

Expand Down
Loading