Skip to content

Enable rustls for reqwest#128

Closed
aurexav wants to merge 2 commits intogsquire:masterfrom
helixbox:main
Closed

Enable rustls for reqwest#128
aurexav wants to merge 2 commits intogsquire:masterfrom
helixbox:main

Conversation

@aurexav
Copy link
Copy Markdown

@aurexav aurexav commented Feb 2, 2026

Summary

  • enable the reqwest rustls feature so HTTPS requests work when default-features = false

Motivation

In downstream usage, SendGrid API calls failed with invalid URL, scheme is not http when HTTPS was used. Enabling rustls provides TLS support without relying on default features.

Testing

  • not run (dependency feature change only)

@gsquire
Copy link
Copy Markdown
Owner

gsquire commented Feb 3, 2026

I'm sorry for the error in version 0.26.0. I think a better update would be just to remove the default-features = false key in the manifest. I forgot to do this since rustls is now default. I'll do this and publish another version. Thanks again for pointing this out.

@gsquire gsquire closed this Feb 3, 2026
@gsquire
Copy link
Copy Markdown
Owner

gsquire commented Feb 3, 2026

Fixing in #129.

@aurexav
Copy link
Copy Markdown
Author

aurexav commented Feb 3, 2026

Fixing in #129.

Need a release. Thanks

@gsquire
Copy link
Copy Markdown
Owner

gsquire commented Feb 3, 2026

Here you go: https://crates.io/crates/sendgrid/0.27.0

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.

2 participants