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)
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 cargo group with 7 updates:
0.4.33
0.4.34
4.4.18
4.5.0
0.17.7
0.17.8
0.12.0
0.12.1
0.11.23
0.11.24
1.0.56
1.0.57
1.35.1
1.36.0
Updates
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.0Changelog
Sourced from clap's changelog.
Commits
a751c5f
chore: Release9ec6c94
chore: Release0735119
docs: Update changelogc4d3959
Merge pull request #5344 from epage/encodef750e57
fix(lex): Use new-ish OsStr API1d9a554
Merge pull request #5343 from epage/msrv4b45d36
chore: Update MSRV to 1.7455b1f94
Merge pull request #5342 from epage/divanea77b98
test(complete): Make it order independentb0fea2b
test(bench): Switch to divanUpdates
indicatif
from 0.17.7 to 0.17.8Commits
Updates
itertools
from 0.12.0 to 0.12.1Changelog
Sourced from itertools's changelog.
Commits
98d3978
Prepare v0.12.1 releasedffac1f
Bump obi1kenobi/cargo-semver-checks-action from 2.2 to 2.300998a4
CoalesceBy
: missing field inDebug
a0411d6
CombinationsWithReplacement
: use a boxed slice internally8dd75f1
Permutations
: use boxed slices internallyb785403
ExactlyOneError
: implement Debug differently7a1c22b
FlattenOk
: Debug with macro94452e3
GroupingMapBy
: fix Debug implementation2e325a0
TakeWhileInclusive
: missing field inDebug
a48c5b4
WithPosition
: implement DebugUpdates
reqwest
from 0.11.23 to 0.11.24Release notes
Sourced from reqwest's releases.
Changelog
Sourced from reqwest's changelog.
Commits
c9b4b65
v0.11.24ddf7f24
Add Certificate::from_pem_bundle() (#2032)5d8443d
fix panic when parsing invalid Url to Uri (#2040)e3bf090
docs: explain TLS backend features better (#2117)1bd939b
update wasm-streams dependency (#2114)87cdf12
doc: clarify Cookie API usage (#2111)b3feff6
Add http3 feature to blocking client (#2110)2332936
Update cookie crates (#2089)ef2c8ee
Upgrading env_logger dep (#2102)4ab5fb0
Fix HTTP/2: retry requests rejected withREFUSED_STREAM
(#2081)Updates
thiserror
from 1.0.56 to 1.0.57Release notes
Sourced from thiserror's releases.
Commits
1d106b1
Release 1.0.578a5c4d1
Use write_str when args only consists of trailing commaf790bee
Phrase flag in terms of whether core::fmt machinery is requiredd43b759
Ignore needless_raw_string_hashes pedantic clippy lint in testd09c418
Touch up PR 286097251d
Merge pull request #286 from nyurik/litstrcd79876
optimize by avoiding second fmt.value() calld7e738e
Optimize simple literals for Display::fmt0717de3
Update ui test suite to nightly-2024-02-08c7c7547
Update ui test suite to nightly-2024-01-31Updates
tokio
from 1.35.1 to 1.36.0Release notes
Sourced from tokio's releases.
... (truncated)
Commits
eaf81ed
chore: prepare Tokio v1.36.0 (#6312)53f9e5a
ci: make sure dictionary words are sorted and unique (#6316)9077762
net: expose keepalive option onTcpSocket
(#6311)131e7b4
ci: add spellchecking (#6297)e53b92a
io: clarifyclear_ready
docs (#6304)7536132
sync: use AtomicBool in broadcast channel future (#6298)b6d0c90
macros: fix trait_method breaking change detection (#6308)4846959
runtime: remove obsolete comment (#6303)ec30383
net: addUnixSocket
(#6290)f80bbec
io: simplify check for empty slice (#6293)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