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.
blocking
to enable the blocking client.native-tls
to use system-native TLS. Enabled by default.rustls-tls
to use TLS backed byrustls
.
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).