Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.10.0-rc.7
->0.10.0
Release Notes
lettre/lettre
v0.10.0
Compare Source
Upgrade notes
Several breaking changes were made between 0.9 and 0.10, but changes should be straightforward:
lettre_email
crate has been merged intolettre
. To migrate, replacelettre_email
withlettre::message
and make sure to enable the
builder
feature (it's enabled by default).SendableEmail
has been renamed toEmail
andEmailBuilder::build()
produces it directly. To migrate,rename
SendableEmail
toEmail
.serde-impls
feature has been renamed toserde
. To migrate, rename the feature.Features
tokio
1 supportrustls
supportasync-std
support. NOTE: native-tls isn't supported when using async-std for the smtp transport.Breaking Changes
lettre_email
intolettre
Email
andSendableEmail
intolettre::message::Email
TlsParameters
implementation to not expose the internal TLS libraryFileTransport
writes emails into.eml
instead of.json
127.0.0.1
is used instead oflocalhost
as EHLO parameter (for better RFC compliance and mail server compatibility)sendmail
andfile
transports aren't enabled by default anymore.new
method ofClientId
is deprecatedserde-impls
feature toserde
SendmailTransport
now uses thesendmail
command in currentPATH
by default instead of/usr/bin/sendmail
.Bug Fixes
SendmailTransport
(see RUSTSEC-2020-0069)domain
fieldMisc
line-wrap
,email
,bufstream
with our own implementationsbytes
time
fast_chemail
base64
to 0.13hostname
to 0.3nom
6log
withtracing
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.