This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient days_since method for the Weekday type.
Chrono 0.4.38 also removes the long deprecated rustc-serialize feature. Support for rustc-serialize will be soft-destabilized in the next Rust edition. Removing the feature will not break existing users of the feature; Cargo will just not update dependents that rely on it to newer versions of chrono.
In chrono 0.4.36 we made an accidental breaking change by switching to derive(Copy) for DateTime instead of a manual implementation. It is reverted in this release.
Only package files needed for building and testing (#1554)
Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!
v0.4.37
Version 0.4.36 introduced an unexpected breaking change and was yanked. In it LocalResult was renamed to MappedLocalTime to avoid the impression that it is a Result type were some of the results are errors. For backwards compatibility a type alias with the old name was added.
As it turns out there is one case where a type alias behaves differently from the regular enum: you can't import enum variants from a type alias with use chrono::LocalResult::*. With 0.4.37 we make the new name MappedLocalTime the alias, but keep using it in function signatures and the documentation as much as possible.
See also the release notes of chrono 0.4.36 from yesterday for the yanked release.
v0.4.36
This release un-deprecates the methods on TimeDelta that were deprecated with the 0.4.35 release because of the churn they are causing for the ecosystem.
New is the DateTime::with_time() method. As an example of when it is useful:
use chrono::{Local, NaiveTime};
// Today at 12:00:00
let today_noon = Local::now().with_time(NaiveTime::from_hms_opt(12, 0, 0).unwrap());
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the minor group with 10 updates:
1.0.81
1.0.82
1.0.114
1.0.116
1.0.58
1.0.59
0.10.0
0.11.1
0.21.10
0.21.11
1.0.197
1.0.198
1.0.197
1.0.198
1.36.0
1.37.0
0.25.4
0.26.1
0.4.35
0.4.38
Updates
anyhow
from 1.0.81 to 1.0.82Release notes
Sourced from anyhow's releases.
Commits
074bdea
Release 1.0.8247a4fbf
Merge pull request #360 from dtolnay/docensurec5af1db
Make ensure's doc comment apply to the cfg(not(doc)) macro toobebc7a2
Revert "Temporarily disable miri on doctests"f2c4db9
Update ui test suite to nightly-2024-03-31028cbee
Explicitly install a Rust toolchain for cargo-outdated job7a4cac5
Merge pull request #358 from dtolnay/workspacewrapper939db01
Apply RUSTC_WORKSPACE_WRAPPER9f84a37
Temporarily disable miri on doctests45e5a58
Ignore dead code lint in testUpdates
serde_json
from 1.0.114 to 1.0.116Release notes
Sourced from serde_json's releases.
Commits
a3f62bb
Release 1.0.11612c8ee0
Hide "non-exhaustive patterns" errors when crate fails to compile051ce97
Merge pull request 1124 from mleonhard/master25dc750
Replacefeatures_check
mod with a call tostd::compile_error!
. Fixes htt...2e15e3d
Revert "Temporarily disable miri on doctests"0baba28
Resolve legacy_numeric_constants clippy lintsb1ebf38
Release 1.0.115c3dc153
Merge pull request #1119 from titaniumtraveler/pr218770b
Explicitly install a Rust toolchain for cargo-outdated job840da8e
Fix missing backticks in doc commentsUpdates
thiserror
from 1.0.58 to 1.0.59Release notes
Sourced from thiserror's releases.
Commits
e7ad85e
Release 1.0.59af477ec
Merge pull request #297 from dtolnay/traitidentf3fbd99
Implement ToTokens without reliance on {:?}508ece8
Revert "Temporarily disable miri on doctests"c8c804c
Explicitly install a Rust toolchain for cargo-outdated job6969595
Merge pull request #293 from dtolnay/workspacewrapper488d52f
Apply RUSTC_WORKSPACE_WRAPPERba33438
Temporarily disable miri on doctestsUpdates
lambda_runtime
from 0.10.0 to 0.11.1Release notes
Sourced from lambda_runtime's releases.
Commits
c7a3014
Release runtime 0.11.1 (#851)165abcf
Always export the _X_AMZN_TRACE_ID env variable. (#850)e0a3827
Release version 0.11.0 (#847)ddd22a3
Add events for CDK custom resource provider framework. (#846)731d201
feat: Implement RFC for layering of runtime (#845)bae37bd
fix: Correct Markdown format for Tracing link in README (#844)af639e8
Chore: Adds eventbridge schedule event data-example fixture (#842)aeee3b6
feat: Add default Value type for EventBridgeEvent detail (#843)5b399cf
Fix typo (#840)240ae6d
Stop using deprecated chrono's api. (#839)Updates
rustls
from 0.21.10 to 0.21.11Commits
7b8d1db
Prepare 0.21.11ebcb478
complete_io: bail out if progress is impossible20f35df
Regression test forcomplete_io
infinite loop bug2f2aae1
Don't specially handle unauthenticated close_notify alertse163587
Don't deny warnings from nightly clippy9f86487
server::handy: fix new nightly clippy lint7e0e8ab
Correct assorted clippy warnings in test code3587d98
Apply clippy suggestions from Rust 1.72d082e83
Addressclippy::redundant_static_lifetimes
5e7a06c
Addressclippy::slow_vector_initialization
Updates
serde
from 1.0.197 to 1.0.198Release notes
Sourced from serde's releases.
Commits
c4fb923
Release 1.0.19865b7eea
Merge pull request #2729 from dtolnay/saturating01cd696
Integrate Saturating<T> deserialization into impl_deserialize_num macroc13b3f7
Format PR 2709a6571ee
Merge pull request #2709 from jbethune/master6e38aff
Revert "Temporarily disable miri on doctests"3d1b19e
Implement Ser+De forSaturating\<T>
5b24f88
Resolve legacy_numeric_constants clippy lints74d0670
Explicitly install a Rust toolchain for cargo-outdated job3bfab6e
Temporarily disable miri on doctestsUpdates
serde_derive
from 1.0.197 to 1.0.198Release notes
Sourced from serde_derive's releases.
Commits
c4fb923
Release 1.0.19865b7eea
Merge pull request #2729 from dtolnay/saturating01cd696
Integrate Saturating<T> deserialization into impl_deserialize_num macroc13b3f7
Format PR 2709a6571ee
Merge pull request #2709 from jbethune/master6e38aff
Revert "Temporarily disable miri on doctests"3d1b19e
Implement Ser+De forSaturating\<T>
5b24f88
Resolve legacy_numeric_constants clippy lints74d0670
Explicitly install a Rust toolchain for cargo-outdated job3bfab6e
Temporarily disable miri on doctestsUpdates
tokio
from 1.36.0 to 1.37.0Release notes
Sourced from tokio's releases.
... (truncated)
Commits
9c337ca
chore: prepare Tokio v1.37.0 (#6435)e542501
io: document cancel safety ofAsyncBufReadExt::fill_buf
(#6431)4601c84
stream: addnext_many
andpoll_next_many
toStreamMap
(#6409)deff252
util: document cancel safety ofSinkExt::send
andStreamExt::next
(#6417)4565b81
sync: add arwlock()
method to ownedRwLock
guards (#6418)3ce4720
sync: addis_closed
,is_empty
, andlen
to mpsc receivers (#6348)8342e4b
util: assert compatibility betweenLengthDelimitedCodec
options (#6414)4c453e9
readme: add description about benchmarks (#6425)1846483
sync: expose strong and weak counts of mpsc sender handles (#6405)baad270
sync: add Semaphore example for limiting the number of outgoing requests (#6419)Updates
webpki-roots
from 0.25.4 to 0.26.1Release notes
Sourced from webpki-roots's releases.
Commits
0ffea70
Cargo: version 0.26.0 -> 0.26.1d34ca74
process upstream February root updateseacbc6c
Update rcgen requirement from 0.11.1 to 0.12.00df3d50
create wepki-ccadb crate63aedbb
create workspace with webpki-roots crate46b65aa
doc: add example of how to use with rustls 0.2256f3032
Bump to 0.26.08a8a159
Take pki-types v1, pemfile v2, webpki v0.1022793adf
Update rustls-pemfile requirement from =2.0.0-alpha.1 to =2.0.0-alpha.2b8470f3
Bump version to alpha.2Updates
chrono
from 0.4.35 to 0.4.38Release notes
Sourced from chrono's releases.
... (truncated)
Commits
352a352
Prepare 0.4.3846d44d6
Manually implementCopy
forDateTime
if offset isCopy
760eb66
Update windows-bindgen requirement from 0.55 to 0.56391187f
Return error when rounding with zero durationffc75e5
AddTimeDelta::checked_mul
andTimeDelta::checked_div
f8cecbe
MakeWeekday::num_days_from public
, rename todays_since
.0cfc405
Optimize number formatting74ba83b
Takepad
by value78e79db
Match on tuples informat_fixed
f3d76c7
Match on tuples informat_numeric
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show