It was found that what had been used until now as a basic lettre 0.10
MessageBuilder::body example failed to mention that for maximum
compatibility with various email clients a Content-Type header
should always be present in the message.
Before
Message::builder()
// [...] some headers skipped for brevity
.body(String::from("A plaintext or html body"))?
Patch
Message::builder()
// [...] some headers skipped for brevity
+ .header(ContentType::TEXT_PLAIN) // or `TEXT_HTML` if the body is html
.body(String::from("A plaintext or html body"))?
Features
Add support for rustls-native-certs when using rustls (#843)
It was found that what had been used until now as a basic lettre 0.10
MessageBuilder::body example failed to mention that for maximum
compatibility with various email clients a Content-Type header
should always be present in the message.
Before
Message::builder()
// [...] some headers skipped for brevity
.body(String::from("A plaintext or html body"))?
Patch
Message::builder()
// [...] some headers skipped for brevity
+ .header(ContentType::TEXT_PLAIN) // or `TEXT_HTML` if the body is html
.body(String::from("A plaintext or html body"))?
Features
Add support for rustls-native-certs when using rustls (#843)
Fixes using the (non-default) read_buf feature with Rust nightly newer than nightly-2023-11-01 by opting in to the core_io_borrowed_buf feature and updated BorrowedBuf, BorrowedCursor types.
What's Changed
Fix build: new feature needed for std::io::BorrowedBuf et al. by @ctz in rustls/rustls#1582
Fixes ConnectionCommon::complete_io() to flush writers before potentially expecting a response.
Upgrades *ring* to 0.17 - Note: *ring* 0.17 when built with gcc will experience slower X25519 and Ed25519 operations compared to previous releases.
Upgrades rustls-webpki to 0.101.7 to match *ring* 0.17 dependency
Tls12CipherSuite::hash_algorithm() and Tls13CipherSuite::hash_algorithm() are now crate-internal. This is a small breaking change to remove unintended exposure of underlying *ring* types in the public API.
Bumps the minor group with 22 updates:
1.0.69
1.0.79
1.0.38
1.0.39
1.3.0
1.4.1
0.2.7
0.8.5
0.3.26
0.3.30
0.2.1
0.9.1
0.10.0-alpha.1
0.10.4
0.4.17
0.4.20
0.43.0
0.48.0
0.43.0
0.48.0
0.16.0
0.21.10
0.4.3
0.5.4
0.19.0
0.23.1
0.13.1
0.21.7
0.4.23
0.4.33
0.6.2
0.12.0
0.10.5
0.12.0
0.13.8
0.14.1
0.6.0
0.8.0
1.7.1
1.9.4
3.3.0
3.9.0
0.14.2
0.16.0
Updates
anyhow
from 1.0.69 to 1.0.79Release notes
Sourced from anyhow's releases.
Commits
71ab53d
Release 1.0.7960705a5
Merge pull request #340 from dtolnay/depinfo17e252b
Include env-dep:RUSTC_BOOTSTRAP in dep-info for sccache04774c0
Merge pull request #338 from dtolnay/nightlyci1fd290c
Make CI verify that error_generic_member_access works in latest nightlyee41470
RUSTC must be set by Cargo for build script38c79ef
Release 1.0.78ded2295
Merge pull request #337 from dtolnay/bootstrapae45b67
Do not rebuild on RUSTC_BOOTSTRAP changes on nightly compiler2d32366
Update crate name used for build script probeUpdates
thiserror
from 1.0.38 to 1.0.39Release notes
Sourced from thiserror's releases.
Commits
f729af9
Release 1.0.39391ec2b
Set html_root_urla2d1ed1
Enable type layout randomization in CI on nightly7aaa03d
Show enabling of nightly tests as a CI step0010b0f
Support a manual trigger on CI workflow920ad73
Ignore extra_unused_type_parameters clippy lint in test0d23ebc
Prevent actions duplication on noop merge commitsc5ce725
Sync license text with rust-lang reposUpdates
whoami
from 1.3.0 to 1.4.1Changelog
Sourced from whoami's changelog.
Commits
e4fa92e
Prepare v1.4.1 (#67)86a2acc
Include license file in the crate (#65)290bb91
Remove actions-rs/cargo@v1 (#66)09d8cef
Write additional documentation for WebAssembly targets.7d5b18f
Prepare for 1.4.0 release82bf60b
Add support for the Illumos platform (#61)438cea1
Make separate action for MacOS to fix CI. (#63)86b76a4
Temporarily remove Fuchsia from CI testing (#62)4c07234
Add missing release date to changelogUpdates
aws_lambda_events
from 0.2.7 to 0.8.5Release notes
Sourced from aws_lambda_events's releases.
... (truncated)
Commits
Updates
futures
from 0.3.26 to 0.3.30Release notes
Sourced from futures's releases.
Changelog
Sourced from futures's changelog.
Commits
de1a0fd
Release 0.3.3068d2845
Remove a redundant space in example (#2816)fdd2ce7
Fix broken link inCopyBufAbortable
docs (#2815)272a3c7
Use cfg(target_has_atomic) on no-std targetsc179201
FillBuf: Do not call poll_fill_buf twicee6735f3
FuturesUnordered: Fix clear implementation04d01a0
FuturesOrdered: Use 64-bit indexe4aa659
remove redundant impl Unpin17851c1
provide a mechanism to determine if io read/write halves are from the same st...4910799
provide a non-destructive mechanism to determine if a sink/stream are pairedUpdates
lambda_runtime
from 0.2.1 to 0.9.1Release notes
Sourced from lambda_runtime's releases.
... (truncated)
Commits
Updates
lettre
from 0.10.0-alpha.1 to 0.10.4Release notes
Sourced from lettre's releases.
... (truncated)
Changelog
Sourced from lettre's changelog.
... (truncated)
Commits
ce36327
Prepare 0.10.4 (#871)e59ecc2
Bump rustls to 0.21 (#867)4fb67a7
Prepare 0.10.3 (#860)9041f21
Add Content-Type to all examples sending a basic text/plain message (#859)77b7d40
mailbox: replace serialize_str(&self.to_string()) with collect_str(self) (#858)2b6d457
clippy: deny str_to_string and empty_structs_with_brackets (#857)952c1b3
Add support for rustls-native-certs (#843)7ecb87f
Prepare 0.10.2 (#853)fd700b1
cargo: switch to crates.io release of email-encoding v0.2 (#854)f8f19d6
clippy: fix latest warnings (#855)Updates
log
from 0.4.17 to 0.4.20Changelog
Sourced from log's changelog.
Commits
4708f14
Merge pull request #574 from chrysn-pull-requests/doc-log-to-defmt6de3ccc
Merge pull request #571 from rust-lang/cargo/0.4.20838920c
Merge pull request #575 from EFanZh/group-target-module-path-and-file3985711
Grouptarget
,module_path
andfile
arguments3f534d0
Move private APIs into a single modulef5ab686
doc: Add log-to-defmt to other-facilities section6d173bf
prepare for 0.4.20 releasecab1088
Merge pull request #570 from EFanZh/remove-local-inner-macros9d052b1
Removelocal_inner_macros
usagee9123d6
Merge pull request #568 from Thomasdezeeuw/remove-rustversion-depUpdates
rusoto_core
from 0.43.0 to 0.48.0Release notes
Sourced from rusoto_core's releases.
... (truncated)
Changelog
Sourced from rusoto_core's changelog.
... (truncated)
Commits
0df121f
v0.48.0bd9f3f1
fix misspelling of default-features529f6dd
remove crates for dead(!) services19924ce
Merge pull request #1977 from rusoto/hyper-rustlsf7c92c3
add the new hyper-rustls default features37bac10
Merge pull request #1976 from svc-93/patch-1ae7f34e
Include ap-southeast-3 in AWS Regionsdf31792
Upgrade hyper-rustlse9d9214
Add Clone derived trait to TlsError9081eaa
Support building rustls without native certs, to eliminate openssl-probeUpdates
rusoto_s3
from 0.43.0 to 0.48.0Release notes
Sourced from rusoto_s3's releases.
... (truncated)
Changelog
Sourced from rusoto_s3's changelog.
... (truncated)
Commits
0df121f
v0.48.0bd9f3f1
fix misspelling of default-features529f6dd
remove crates for dead(!) services19924ce
Merge pull request #1977 from rusoto/hyper-rustlsf7c92c3
add the new hyper-rustls default features37bac10
Merge pull request #1976 from svc-93/patch-1ae7f34e
Include ap-southeast-3 in AWS Regionsdf31792
Upgrade hyper-rustlse9d9214
Add Clone derived trait to TlsError9081eaa
Support building rustls without native certs, to eliminate openssl-probeUpdates
rustls
from 0.16.0 to 0.21.10Release notes
Sourced from rustls's releases.
Looks like these dependencies are updatable in another way, so this is no longer needed.