You can now send emails with the official Resend SDK in your Rust projects.
Rust has seen a rapid rise in popularity in the last few years, and one of the driving forces behind it has been the attention paid to type safety and developer ergonomics.
With those values in mind, today we are proud to announce the Resend Rust SDK.
Last year, I was building a newsletter aggregator to help me keep up with blogs and articles I was interested in. I just so happened to see Resend's announcement on Twitter and wanted to try it out, considering I wanted to support multiple email backends.
I was quite early to the party, and since no crate was available at the time to interact with the Resend API, I decided to make my own. It ended up being the more popular option in the Rust ecosystem, and with the help of Resend's team, it now covers the entire API interface.
First, add the necessary dependencies:
You can now easily send your first email as follows:
More documentation is available to get you up to speed with everything:
If you have any suggestions, issues or would like to contribute, check the GitHub repo.