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.
Fixes interoperability bug where Rustls servers would not properly echo the session_id in HelloRetryRequest messages as was done for ServerHello messages.
WebPkiVerifier now stores an Arc<RootCertStore>.
Documentation for the computational expense required to build client and server configurations has been clarified to emphasize this is cheap with the exception of gathering certificates from a platform trust root store.
What's Changed
Backport Arc server roots + non-expensive configs to rel-0.21 by @djc in rustls/rustls#1416
Bumps the minor group with 20 updates:
1.0.38
1.0.39
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
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
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.
... (truncated)
Commits
cf6aa80
Cargo: version 0.21.9 -> 0.21.104ee33ae
version: allow manual_non_exhaustivef628518
remove the TLS 1.2 session ticket on DecryptErrorbbd9abc
Cargo: v0.21.8 -> v0.21.95edc126
UseBorrowedCursor
&BorrowedBuf
from core::io7abd73f
Opt in to feature(core_io_borrowed_buf)c34477a
Cargo: 0.21.7 -> 0.21.88cf2594
sign: fix clippy get-first warningecc6cde
Flush writers before potentially expecting a response53adb9d
docs: adjust ring platform compatibilityUpdates
stderrlog
from 0.4.3 to 0.5.4Changelog
Sourced from stderrlog's changelog.
Commits
bad4ec6
(cargo-release) version 0.5.4796d239
Merge pull request #47 from alexanderkjall/upgrade-clap-to-3... _Description has been truncated_