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());
Improve diagnostics when an invalid attribute previously caused thiserror to generate no Error impl (#266)
1.0.50
Improve diagnostic when a #[source], #[from], or #[transparant] attribute refers to a type that has no std::error::Error impl (#258, thanks @de-vri-es)
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 all-dependencies group with 12 updates:
3.2.25
4.5.4
3.3.3
4.6.0
0.12.1
0.12.2
0.4.20
0.4.21
0.3.28
0.3.30
0.4.31
0.4.38
2.4.1
2.5.0
0.5.1
1.0.1
1.0.49
1.0.61
1.0.75
1.0.86
0.21.4
0.22.4
0.18.1
0.20.9
Updates
clap
from 3.2.25 to 4.5.4Release notes
Sourced from clap's releases.
... (truncated)
Changelog
Sourced from clap's changelog.
... (truncated)
Commits
5e4facf
chore: Release8880b0a
docs: Update changelog132b5dd
Merge pull request #5425 from epage/litdf915fe
fix(derive): Re-allow expressions for id's8eab48f
refactor(derive): Make it easier to work with 'Name'be73195
refactor(derive): Clarify tests024089b
Merge pull request #5415 from Pi-Cla/patch-13b35dba
docs: Add mention of nushell to clap_complete README58469d1
Merge pull request #5405 from epage/docs655d829
docs(derive): Fix ToC links within tutorial chaptersUpdates
actix-web
from 3.3.3 to 4.6.0Release notes
Sourced from actix-web's releases.
... (truncated)
Commits
acb7405
fix: correct aws rustls v0.23 feature gating9a437fe
chore(awc): prepare release 3.5.059115bc
chore(actix-web): prepare release 4.6.0fe72684
chore(actix-http): prepare release 3.7.0e8262da
chore: update rcgen to 0.1318e02b8
docs: fix middleware docs warning2e63ff5
actix-web: Add rustls 0.23 (#3363)48d7adb
Documentation for actix multipart (#3344)0a2788d
actix-test: re-export types from awc (#3349)2d035c0
actix-http: Add rustls 0.23 (#3361)Updates
simplelog
from 0.12.1 to 0.12.2Commits
47f02be
v0.12.2Updates
log
from 0.4.20 to 0.4.21Changelog
Sourced from log's changelog.
Commits
3ccdc28
Merge pull request #617 from rust-lang/cargo/0.4.216153cb2
prepare for 0.4.21 releasef0f7494
Merge pull request #613 from rust-lang/feat/kv-cleanup2b220bf
clean up structured logging example646e9ab
use original Visitor name for VisitValuecf85c38
add needed subfeatures to kv_unstable73e9539
fix up capturing of :err31bb4b0
move error macros togetherad91711
support field shorthand in macros90a347b
restore removed APIs as deprecatedUpdates
futures
from 0.3.28 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
chrono
from 0.4.31 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
url
from 2.4.1 to 2.5.0Commits
00e9e18
Update url 2.5.0 (#885)464b1f7
Fix another overflow in punycode encode_into (#880)912d716
Correct spelling mistake inPosition
docs (#875)5f454e2
Added #[must_use] Attributes for Configuration Options (#876)67fc273
Fix search setting for non-special urls with space, query and fragment (#879)ae8d29e
use checked addition to not panic in debug build (#877)e39c9a2
Fix clippy (#878)Updates
yansi
from 0.5.1 to 1.0.1Release notes
Sourced from yansi's releases.
Commits
Updates
thiserror
from 1.0.49 to 1.0.61Release notes
Sourced from thiserror's releases.
Commits
5c80163
Release 1.0.61e3b1b91
Format PR 299 with rustfmt6b2b871
Merge pull request #299 from quartiq/corece974bc
also {std -> core}::panic::UnwindSafe7b6e35b
use core::fmt instead of std::fmt870d11b
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/traitidentUpdates
anyhow
from 1.0.75 to 1.0.86Release notes
Sourced from anyhow's releases.
Commits
8ea1819
Release 1.0.860a1b405
Merge pull request #373 from dtolnay/minusnege0c74f2
Ensure $:literal never matches negative literal013c66e
Fix parse error with non-literal after minus signca7aff7
Add binary operator ensure tests2737bbe
Release 1.0.8582b8b34
Merge pull request #371 from dtolnay/splitad78d70
Preserve more token spans in expression parser5cce406
Parse comparison operators before other binary operators7205394
Merge pull request #369 from dtolnay/tokensplitUpdates
webpki
from 0.21.4 to 0.22.4Commits
Updates
rustls
from 0.18.1 to 0.20.9Commits
d1345fc
Cargo: bump version v0.20.8 -> v0.20.9.ba13bb5
Cargo: bump MSRV 1.57 -> 1.60.22b8f70
Remove calls to PhantomData::defaultaae5f19
client: detect HRR with incorrect session_id43fb7be
Regression test for echoing session id in HRR5e34398
server: echo client's session_id in HRR9b5bb50
Prepare 0.20.8d4cf464
Use the enums exposed in 5dab6ed6 in testscba4d0c
add a README for BoGob177e4c
move doc(cfg(feature = …)) to original definitions (#1156)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