4 releases (breaking)

new 0.4.0 Apr 30, 2024
0.3.0 Feb 6, 2024
0.2.0 Jul 10, 2023
0.1.0 Jul 10, 2023

#111 in Email

Download history 2/week @ 2024-01-17 45/week @ 2024-01-31 4/week @ 2024-02-07 4/week @ 2024-02-14 37/week @ 2024-02-21 119/week @ 2024-02-28 42/week @ 2024-03-06 10/week @ 2024-03-13 10/week @ 2024-03-27 48/week @ 2024-04-03 1/week @ 2024-04-10 17/week @ 2024-04-17

76 downloads per month
Used in rss2email

GPL-3.0 license

64KB
1K SLoC

resend-rs

Build Status Crate Docs Crate Version

A minimal Resend client.

Emails are sent via the Client which provides both a synchronous and asynchronous send method. The two are mutually exclusive and accessible via the blocking feature. The crate uses reqwest and serde internally.

If anyone else is looking into this, however, I would not mind expanding it.

Features

  • blocking to enable the blocking client.
  • native-tls to use system-native TLS. Enabled by default.
  • rustls-tls to use TLS backed by rustls .

Variables

  • RESEND_API_KEY to enable impl Default for a Client (Required).
  • RESEND_BASE_URL to override the default base address: https://api.resend.com (Optional).
  • RESEND_USER_AGENT to override the default User-Agent: resend-rs/0.1.0 (Optional).

Dependencies

~4–19MB
~239K SLoC