Skip to content

feature: native-tls#14451

Open
jorgemmsilva wants to merge 2 commits intofoundry-rs:masterfrom
jorgemmsilva:master
Open

feature: native-tls#14451
jorgemmsilva wants to merge 2 commits intofoundry-rs:masterfrom
jorgemmsilva:master

Conversation

@jorgemmsilva
Copy link
Copy Markdown
Contributor

@jorgemmsilva jorgemmsilva commented Apr 24, 2026

adds a native-tls build flag. This is helpful for people that must use cast behind corporate proxies.

tried this solution, but it didn't work for me:
#4792

Copy link
Copy Markdown
Collaborator

@mablr mablr left a comment

Choose a reason for hiding this comment

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

Makes sense as it’s a pattern we also have in alloy and foundry-core. @zerosnacks wdyt?

Btw some wiring is certainly missing.

Comment thread crates/forge/Cargo.toml Outdated
gcp-kms = ["foundry-wallets/gcp-kms"]
turnkey = ["foundry-wallets/turnkey"]
isolate-by-default = ["foundry-config/isolate-by-default"]
native-tls = ["foundry-cli/native-tls"]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Logically, "foundry-block-explorers/openssl" should also be included here?

@mablr
Copy link
Copy Markdown
Collaborator

mablr commented Apr 24, 2026

openssl is banned if not wrapped, use in deny.toml:

deny = [{ name = "openssl", wrappers = ["native-tls"] }]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants