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)
Bilal Elmoussaoui:
chore: Drop no longer needed deny skips
docs: Move metadata back to packages
L. E. Segovia:
cairo: Fix version of the v1_18 feature
Sebastian Dröge:
Fix some new clippy warnings
glib-macros: Require at least syn 2.0.32
glib: Fix expected error output of compiletests for 1.76
Update Cargo.lock
Update version to 0.19.2
Bilal Elmoussaoui:
chore: Drop no longer needed deny skips
docs: Move metadata back to packages
L. E. Segovia:
cairo: Fix version of the v1_18 feature
Sebastian Dröge:
Fix some new clippy warnings
glib-macros: Require at least syn 2.0.32
glib: Fix expected error output of compiletests for 1.76
Update Cargo.lock
Update version to 0.19.2
Bilal Elmoussaoui:
chore: Drop no longer needed deny skips
docs: Move metadata back to packages
L. E. Segovia:
cairo: Fix version of the v1_18 feature
Sebastian Dröge:
Fix some new clippy warnings
glib-macros: Require at least syn 2.0.32
glib: Fix expected error output of compiletests for 1.76
Update Cargo.lock
Update version to 0.19.2
http1: support configurable max_headers(num) to client and server (#3523) (b1142448)
http2:
add config for max_local_error_reset_streams in server (#3530) (d7680e30)
add initial_max_send_streams method to HTTP/2 client builder (#3524) (fdfa60d9)
NOTE: The default for this will change in v1.3 to something conservative. If you have an environment where the server can always accept a large amount of concurrent streams, and depend on that for performance, you should set this option manually.
add max_pending_accept_reset_streams(num) back to HTTP/2 server builder (#3507 (a9fa893f)
rt:Sleep::downcast_mut_pin() no longer extend lifetime (7206fe30, closes #3556)
Breaking Changes
The returned lifetime from Sleep::downcast_mut_pin()
is no longer 'static. This shouldn't affect most usage. This sort of
breaking change is needed because it is wrong. (7206fe30)
rt:Sleep::downcast_mut_pin() no longer extend lifetime (7206fe30, closes #3556)
Features
http1: support configurable max_headers(num) to client and server (#3523) (b1142448)
http2:
add config for max_local_error_reset_streams in server (#3530) (d7680e30)
add initial_max_send_streams method to HTTP/2 client builder (#3524) (fdfa60d9)
add max_pending_accept_reset_streams(num) back to HTTP/2 server builder (#3507 (a9fa893f)
Breaking Changes
The returned lifetime from Sleep::downcast_mut_pin()
is no longer 'static. This shouldn't affect most usage. This sort of
breaking change is needed because it is wrong.
Bumps the dependencies group with 13 updates:
1.0.79
1.0.80
2.1.1
2.2.0
0.4.33
0.4.34
4.4.18
4.5.1
0.18.5
0.19.2
0.18.4
0.19.2
0.18.5
0.19.2
1.1.0
1.2.0
0.4.20
0.4.21
1.0.196
1.0.197
1.0.113
1.0.114
1.35.1
1.36.0
0.8.9
0.8.10
Updates
anyhow
from 1.0.79 to 1.0.80Release notes
Sourced from anyhow's releases.
Commits
5443719
Release 1.0.80dfc7bc0
Work around prelude redundant import warnings6e4f86b
Import from alloc not std, where possiblef885a13
Ignore incompatible_msrv clippy false positives in testfefbcbc
Ignore incompatible_msrv clippy lint78f2d81
Update ui test suite to nightly-2024-02-08edd88d3
Update ui test suite to nightly-2024-01-31Updates
async-channel
from 2.1.1 to 2.2.0Release notes
Sourced from async-channel's releases.
Changelog
Sourced from async-channel's changelog.
Commits
170a5b6
Merge pull request #81 from smol-rs/notgull/next67fa012
v2.2.0efdddaa
m: Port to event-listener v5.0.0706f275
Migrate to Rust 2021d5e9f90
Bump MSRV to 1.60fb47ab1
ci: Use cargo-hack's --rust-version flag for msrv checkUpdates
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
Updates
clap
from 4.4.18 to 4.5.1Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
0c01b55
chore: Release08e0b5b
docs: Update changelogf2c4e6e
Merge pull request #5359 from poliorcetics/ab/push-szymvyzpmnqxe782775
fix(complete): Handle newlines in command/arg descriptionsfba7c85
test(complete): Show newline issue8a7a13a
chore: Release7b3a3e1
docs: Update changelog7b624ca
Merge pull request #5356 from epage/escape446328a
fix(error): Include -- in more cases7de6df8
test(error): Show existing last behaviorUpdates
gdk-pixbuf
from 0.18.5 to 0.19.2Release notes
Sourced from gdk-pixbuf's releases.
... (truncated)
Commits
23c5599
Update version to 0.19.2cdeb9ab
Merge pull request #1309 from sdroege/0.19-backports20d5bc4
docs: Move metadata back to packages40fb663
cairo: Fix version of the v1_18 featurea0166c4
chore: Drop no longer needed deny skips38f0394
Update Cargo.locka389ce1
glib: Fix expected error output of compiletests for 1.76de74190
glib-macros: Require at least syn 2.0.3246b4e89
Fix some new clippy warningscbb5dc1
Bump version to 0.19.1Updates
gio
from 0.18.4 to 0.19.2Release notes
Sourced from gio's releases.
... (truncated)
Commits
23c5599
Update version to 0.19.2cdeb9ab
Merge pull request #1309 from sdroege/0.19-backports20d5bc4
docs: Move metadata back to packages40fb663
cairo: Fix version of the v1_18 featurea0166c4
chore: Drop no longer needed deny skips38f0394
Update Cargo.locka389ce1
glib: Fix expected error output of compiletests for 1.76de74190
glib-macros: Require at least syn 2.0.3246b4e89
Fix some new clippy warningscbb5dc1
Bump version to 0.19.1Updates
glib
from 0.18.5 to 0.19.2Release notes
Sourced from glib's releases.
... (truncated)
Commits
23c5599
Update version to 0.19.2cdeb9ab
Merge pull request #1309 from sdroege/0.19-backports20d5bc4
docs: Move metadata back to packages40fb663
cairo: Fix version of the v1_18 featurea0166c4
chore: Drop no longer needed deny skips38f0394
Update Cargo.locka389ce1
glib: Fix expected error output of compiletests for 1.76de74190
glib-macros: Require at least syn 2.0.3246b4e89
Fix some new clippy warningscbb5dc1
Bump version to 0.19.1Updates
hyper
from 1.1.0 to 1.2.0Release notes
Sourced from hyper's releases.
Changelog
Sourced from hyper's changelog.
Commits
198c1b9
v1.2.0a7bdc60
refactor(lib): importing Unpin is not needed in 2021 edition00a703a
chore(ci): update to cargo-check-external-types 0.1.11b0c1395
refactor(error): resolve unused trait error7206fe3
fix(rt):Sleep::downcast_mut_pin()
no longer extend lifetime90eb95f
chore(lib): remove importing prelude trait in 2021 edition (#3546)b114244
feat(http1): support configurablemax_headers(num)
to client and server (#3...7177770
chore(lib): update to 2021 edition7a0a640
docs(maintainers): add dswij (@dswij
) to triagers (#3540)79862ec
fix(http2): typo in trace logging (#3536)Updates
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
serde
from 1.0.196 to 1.0.197Release notes
Sourced from serde's releases.
Commits
5fa711d
Release 1.0.197f5d8ae4
Resolve prelude redundant import warnings1d54973
Merge pull request #2697 from nyurik/format-strb8fafef
A few minorwrite_str
optimizations and inliningc42ebb8
Update ui test suite to nightly-2024-02-129e68062
Ignore incompatible_msrv clippy lint for conditionally compiled code846f865
Ignore dead_code warnings in testUpdates
serde_json
from 1.0.113 to 1.0.114Release notes
Sourced from serde_json's releases.
Commits
e1b3a6d
Release 1.0.1146fb7026
Work around prelude redundant import warnings34a04c5
Ignore incompatible_msrv clippy false positives in testca05f69
Remove unused Float::is_sign_negative trait methodUpdates
tokio
from 1.35.1 to 1.36.0Release notes
Sourced from tokio's releases.