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 12 updates in the / directory:
1.0.81
1.0.83
1.0.114
1.0.117
1.0.58
1.0.60
0.15.0
0.15.1
0.10.0
0.11.2
0.21.11
0.21.12
1.0.197
1.0.201
1.36.0
1.37.0
0.25.4
0.26.1
0.22.0
0.22.1
0.4.35
0.4.38
0.14.1
0.15.0
Updates
anyhow
from 1.0.81 to 1.0.83Release notes
Sourced from anyhow's releases.
Commits
96f0392
Release 1.0.8317bbd1e
Merge pull request #363 from dtolnay/checkcfg3ab3c3b
Resolve unexpected_cfgs warning8e62244
Discard CI coverage of backtrace feature on toolchains older than 1.63e77374f
Mirror PR 343 changes from readme to rustdoccb47d7c
Reword no-std documentation change from PR 3436b5bdb1
Wrap PR 343 to 80 columnsf01080b
Merge pull request #343 from Arthur-Milchior/readme1074bdea
Release 1.0.8247a4fbf
Merge pull request #360 from dtolnay/docensureUpdates
serde_json
from 1.0.114 to 1.0.117Release notes
Sourced from serde_json's releases.
Commits
0ae247c
Release 1.0.1174517c7a
PartialEq is not implemented between Value and 128-bit intsfdf99c7
Combine number PartialEq testsb4fc245
Merge pull request #1130 from serde-rs/checkcfg98f1a24
Resolve unexpected_cfgs warninga3f62bb
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"Updates
thiserror
from 1.0.58 to 1.0.60Release notes
Sourced from thiserror's releases.
Commits
870d11b
Release 1.0.600ccee7c
Merge pull request #298 from dtolnay/checkcfgcf43d0c
Resolve unexpected_cfgs warninge7ad85e
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_WRAPPERUpdates
aws_lambda_events
from 0.15.0 to 0.15.1Commits
Updates
lambda_runtime
from 0.10.0 to 0.11.2Release notes
Sourced from lambda_runtime's releases.
Commits
Updates
rustls
from 0.21.11 to 0.21.12Commits
3633152
Cargo: v0.21.11 -> v0.21.120baaeba
proj: MSRV 1.61 -> 1.636fd691a
tls13: fix clippy::unnecessary_lazy_evaluations finding6da5337
Test for illegal IP address in server name extension75f8857
Ignore server_name extension containing IP addressUpdates
serde
from 1.0.197 to 1.0.201Release notes
Sourced from serde's releases.
Commits
b4f1bc1
Release 1.0.201029ab46
Merge pull request #2737 from dtolnay/checkcfg220ca0c
Resolve unexpected_cfgs warning20306f4
Fix cfg on test_systemtime_overflowcc865ac
Release 1.0.2002d973c1
Merge pull request #2733 from jamessan/nan-decimal6ca499b
Only format Unexpected::Float with decimal point if it is finite1477028
Release 1.0.199789740b
Merge pull request #2732 from aatifsyed/master8fe7539
fix: ambiguous associated type in forward_to_deserialize_any!Updates
serde_derive
from 1.0.197 to 1.0.201Release notes
Sourced from serde_derive's releases.
Commits
b4f1bc1
Release 1.0.201029ab46
Merge pull request #2737 from dtolnay/checkcfg220ca0c
Resolve unexpected_cfgs warning20306f4
Fix cfg on test_systemtime_overflowcc865ac
Release 1.0.2002d973c1
Merge pull request #2733 from jamessan/nan-decimal6ca499b
Only format Unexpected::Float with decimal point if it is finite1477028
Release 1.0.199789740b
Merge pull request #2732 from aatifsyed/master8fe7539
fix: ambiguous associated type in forward_to_deserialize_any!Updates
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
base64
from 0.22.0 to 0.22.1Changelog
Sourced from base64's changelog.
Commits
e144006
v0.22.164cca59
Merge pull request #271 from JobanSD/patch-1838355e
Correct BinHex 4.0 alphabet according to specificationsbf15ccf
Merge pull request #270 from marshallpierce/mp/clippyfc6aabe
Appease clippy9a518a2
Merge pull request #267 from bdura/patch-1d96c80f
Merge branch 'marshallpierce:master' into patch-1e8e4a22
docs: fix trailing ``` in mod.rs exampleUpdates
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
Updates
mailparse
from 0.14.1 to 0.15.0Commits
4657092
Release v0.15.0595888b
Use BASE64_MIME_PERMISSIVE to allow trailing bits in b64 dataDependabot 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