Skip to content

Make Reqwest TLS backend configurable (native-tls/rustls-tls)#10

Open
rb090 wants to merge 1 commit intobasebox-tech:mainfrom
rb090:feature/configurable-reqwest-tls
Open

Make Reqwest TLS backend configurable (native-tls/rustls-tls)#10
rb090 wants to merge 1 commit intobasebox-tech:mainfrom
rb090:feature/configurable-reqwest-tls

Conversation

@rb090
Copy link

@rb090 rb090 commented Sep 24, 2025

This PR refactors how bbjwt depends on reqwest by disabling its default features and instead features are exposed to let users choose the TLS backend.

By default, native-tls (OpenSSL) remains enabled, but consumers can now opt into rustls instead:

# Example: switch to Rustls in downstream crate
bbjwt = { version = "0.x", default-features = false, features = ["tls-rustls"] }

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant