build(deps): bump chrono from 0.4.20 to 0.4.22
Bumps chrono from 0.4.20 to 0.4.22.
Release notes
Sourced from chrono's releases.
0.4.22
Unfortunately the introduction of the iana-time-zone dependency in 0.4.21 caused some new regressions with lesser known platforms. This release fixes all of the issues we've encountered, improving the situation on some WebAssembly targets, SGX and on macOS/iOS. We've improved our CI setup to hopefully catch more of these issues before release in the future.
- Make wasm-bindgen optional on
wasm32-unknown-unknowntarget (#771)- Avoid iana-time-zone dependency on
x86_64-fortanix-unknown-sgx(#767, thanks to@trevor-crypto)- Update
iana-time-zoneversion to 0.1.44 to avoid cyclic dependencies (#773, thanks to@Kijewskifor the upstream PRs)- Clarify documentation about year range in formatting/parsing (#765)
0.4.21 is a bugfix release that mainly fixes one regression from 0.4.20:
- Fall back to UTC in case no timezone is found. Unfortunately this is a regression from the changes we made in 0.4.20 where we now parse the timezone database ourselves. Before 0.4.20,
TimeZone::now()fell back to UTC in the case it could not find the current timezone, but the new implementation panicked in that case.- Correctly detect timezone on Android (also #756). Android does have the timezone database installed, but it's in a different path, and it does not use
/etc/localtimeto keep track of the current timezone. Instead we now use the iana-time-zone crate as a dependency, since it already has quite a bit of logic for finding the current timezone on a host of platforms.Additionally, there is a documentation fix that reverts an incorrect guarantee:
Changelog
Sourced from chrono's changelog.
0.4.22
- Allow wasmbindgen to be optional on
wasm32-unknown-unknowntarget [(#771)](chronotope/chrono#771)- Fix compile error for
x86_64-fortanix-unknown-sgx[(#767)](chronotope/chrono#767)- Update
iana-time-zoneversion to 1.44 [(#773)](chronotope/chrono#773)0.4.21
- Fall back to UTC timezone in cases where no timezone is found [(#756)](chronotope/chrono#756)
- Correctly detect timezone on Android [(#756)](chronotope/chrono#756)
- Improve documentation for strftime
%Yspecifier [(#760)](chronotope/chrono#760)
Commits
4514276update changelogdb8bde3Apply clippy suggestionsf6b575cBump version number to 0.4.22af69b90Require iana-time-zone 0.1.4484f98e0set fallback feature in iana-time-zone depedency511d368Add sgx build to CIbee614aDo not include iana-time-zone for sgxfe4bd22allow optional wasmbindgen95223eeformat: be specific about support year range2d22e57Bump version number to 0.4.21- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Codecov Report
Merging #181 (e3f9fc4) into main (c21a011) will increase coverage by
0.16%. The diff coverage isn/a.
@@ Coverage Diff @@
## main #181 +/- ##
==========================================
+ Coverage 49.94% 50.11% +0.16%
==========================================
Files 30 30
Lines 4903 4903
Branches 1311 1310 -1
==========================================
+ Hits 2449 2457 +8
Misses 1799 1799
+ Partials 655 647 -8
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/xargs/mod.rs | 79.79% <0.00%> (+2.07%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.