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
76 downloads per month
Used in rss2email
64KB
1K
SLoC
resend-rs
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 enableimpl Default
for aClient
(Required).RESEND_BASE_URL
to override the default base address:https://api.resend.com
(Optional).RESEND_USER_AGENT
to override the defaultUser-Agent
:resend-rs/0.1.0
(Optional).
Dependencies
~4–19MB
~239K SLoC