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
In chrono 0.4.34 we finished the work to make all methods const where doing so is supported by rust 1.61.
We renamed the Duration type to TimeDelta. This removes the confusion between chrono's type and the later Duration type in the standard library. It will remain available under the old name as a type alias for compatibility.
The Windows implementation of Local is rewritten. The new version avoids panics when the date is outside of the range supported by windows (the years 1601 to 30828), and gives more accurate results during DST transitions.
The Display format of TimeDelta is modified to conform better to ISO 8601. Previously it converted all values greater than 24 hours to a value with days. This is not correct, as doing so changes the duration from an 'accurate' to a 'nominal' representation to use ISO 8601 terms.
Fixes
Add missing range check in TimeDelta::milliseconds (#1385, thanks @danwilliams)
Remove check for DurationExceedsTimestamp in DurationRound (#1403, thanks @joroKr21)
Bumps the minor group with 14 updates:
1.0.56
1.0.57
0.2.7
0.13.1
0.2.1
0.9.1
0.10.0
0.10.4
0.43.0
0.48.0
0.43.0
0.48.0
0.16.0
0.21.10
0.4.3
0.6.0
0.19.0
0.23.1
0.4.33
0.4.34
0.12.0
0.12.1
0.6.0
0.8.0
1.9.4
1.10.3
3.9.0
3.10.0
Updates
thiserror
from 1.0.56 to 1.0.57Release notes
Sourced from thiserror's releases.
Commits
1d106b1
Release 1.0.578a5c4d1
Use write_str when args only consists of trailing commaf790bee
Phrase flag in terms of whether core::fmt machinery is requiredd43b759
Ignore needless_raw_string_hashes pedantic clippy lint in testd09c418
Touch up PR 286097251d
Merge pull request #286 from nyurik/litstrcd79876
optimize by avoiding second fmt.value() calld7e738e
Optimize simple literals for Display::fmt0717de3
Update ui test suite to nightly-2024-02-08c7c7547
Update ui test suite to nightly-2024-01-31Updates
aws_lambda_events
from 0.2.7 to 0.13.1Release notes
Sourced from aws_lambda_events's releases.
... (truncated)
Commits
Updates
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 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
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.6.0Release notes
Sourced from stderrlog's releases.
Changelog
Sourced from stderrlog's changelog.
Commits
57bc1d6
chore: Release stderrlog version 0.6.05fdb499
Merge pull request #59 from cardoe/delehef-master85550fb
Only style the level labelc4c36ea
no-op pty closed tests on non-Linux85ae008
Merge pull request #54 from Allen-Webb/crashb5b515e
Do not panic in the log statement when the tty closes.d6a7e18
Add test for pty closing.de6760a
Merge pull request #55 from kenoss/fix-clap-error2ec0593
fix: Clap error in examples/timestampaf1941b
Merge pull request #58 from cardoe/maybe-fix-ciUpdates
webpki-roots
from 0.19.0 to 0.23.1Commits
9a85698
0.23.1: update from upstreama3ac1f3
Fix compatibility with openssl 3.xe3cc7e9
Remove authors from Cargo metadata (per RFC 3052)b5a9e38
Bump version to 0.23.0f6998ac
usr rustls-webpki instead of webpki3ab9952
CI: replace actions-rs w/ dtolnay/rust-toolchain.4941921
CI: actions/checkout@v2 -> v3.e605723
CI: configure Dependabot to monitor GitHub actions.aa4fe55
Upgrade to GitHub-native Dependabot659cc3c
0.22.6: update from upstreamUpdates
chrono
from 0.4.33 to 0.4.34Release notes
Sourced from chrono's releases.
Commits
dc19606
Prepare 0.4.3458a2149
AddStrftimeItems::parse_to_owned
59eeb8c
AddStrftimeItems::parse
79de122
Add more documentation toStrftimeItems::new_with_locale
5b7cf85
Add more documentation toStrftimeItems::new
be6af79
MakeDisplay
format ofTimeDelta
conform better to ISO 8601d1cf0e9
Add test for issue 6510ef34e4
Extend test to more distant datesfc67f3e
Remove obsolete testacb693a
Windows: rewrite usingGetTimeZoneInformationForYear
Looks like these dependencies are updatable in another way, so this is no longer needed.