Skip to content

Enable rustls for reqwest - #128

Closed
acgxv wants to merge 2 commits into
gsquire:masterfrom
helixbox:main
Closed

acgxv wants to merge 2 commits into
gsquire:masterfrom
helixbox:main

Conversation

@acgxv

@acgxv acgxv commented Feb 2, 2026

Copy link
Copy Markdown

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

gsquire commented Feb 3, 2026

Copy link
Copy Markdown
Owner

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

gsquire commented Feb 3, 2026

Copy link
Copy Markdown
Owner

Fixing in #129.

@acgxv

acgxv commented Feb 3, 2026

Copy link
Copy Markdown
Author

Fixing in #129.

Need a release. Thanks

@gsquire

gsquire commented Feb 3, 2026

Copy link
Copy Markdown
Owner

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