This release marks the beginning of stabilization for runtime metrics. It
stabilizes RuntimeMetrics::worker_count. Future releases will continue to
stabilize more metrics.
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 14 updates in the / directory:
1.0.81
1.0.86
1.0.114
1.0.117
1.0.58
1.0.61
0.15.0
0.15.1
0.10.0
0.11.3
0.21.11
0.21.12
1.0.197
1.0.203
1.36.0
1.38.0
0.25.4
0.26.3
0.22.0
0.22.1
0.4.35
0.4.38
0.12.1
0.13.0
0.14.1
0.15.0
1.10.4
1.10.5
Updates
anyhow
from 1.0.81 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
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.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
aws_lambda_events
from 0.15.0 to 0.15.1Commits
Updates
lambda_runtime
from 0.10.0 to 0.11.3Release notes
Sourced from lambda_runtime's releases.
Commits
343159e
Release version 0.11.3 (#875)fc49dd5
Fix Lambda Function URL responses. (#872)f9aeac7
Release patch versions. (#870)cfdf6f5
Support RUST_LOG as variable to set the logging level. (#869)94f7e10
Remove unused code. (#868)41f5fb5
Upgrade base64 to 0.22. (#867)de822f9
fix(IamPolicyStatement): don't serialize None condition (#864)aed8295
ApiGatewayV2CustomAuthorizerV2Request identity_source as optional (#860)46ba8c7
Update tracing.rs - AWS_LAMBDA_LOG_LEVEL rather than RUST_LOG (#859)a68de58
Cleanup IAM definitions (#856)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.203Release notes
Sourced from serde's releases.
Commits
d5bc546
Release 1.0.20345ae217
Merge pull request #2747 from dtolnay/variadicb7b97dd
Unindent implementation inside tuple_impl_body macro5d3c563
Document tuple impls as fake variadic3761854
Merge pull request #2745 from dtolnay/docsrsa8f1484
Rely on docs.rs to define --cfg=docsrs by default9e32a40
Release 1.0.20287f635e
Release serde_derive_internals 0.29.1d4b2dfb
Merge pull request #2743 from dtolnay/renameallrulesf6ab0bc
Provide public access to RenameAllRules in serde_derive_internalsUpdates
serde_derive
from 1.0.197 to 1.0.203Release notes
Sourced from serde_derive's releases.
Commits
d5bc546
Release 1.0.20345ae217
Merge pull request #2747 from dtolnay/variadicb7b97dd
Unindent implementation inside tuple_impl_body macro5d3c563
Document tuple impls as fake variadic3761854
Merge pull request #2745 from dtolnay/docsrsa8f1484
Rely on docs.rs to define --cfg=docsrs by default9e32a40
Release 1.0.20287f635e
Release serde_derive_internals 0.29.1d4b2dfb
Merge pull request #2743 from dtolnay/renameallrulesf6ab0bc
Provide public access to RenameAllRules in serde_derive_internalsUpdates
tokio
from 1.36.0 to 1.38.0Release notes
Sourced from tokio's releases.
... (truncated)
Commits
14c17fc
chore: prepare Tokio v1.38.0 (#6601)65cbf73
chore: prepare tokio-macros v2.3.0 (#6600)dbf93c7
sync: fix incorrect is_empty on mpsc block boundaries (#6603)873cb8a
runtime: move task out of thelifo_slot
inblock_in_place
(#6596)97bb47b
task: fix a typo in doc ofLocalSet::run_until
(#6599)86658bd
metrics: stabilizeRuntimeMetrics::worker_count
(#6556)9e00b26
sync: addNotify::notify_last
(#6520)6c42d28
net: fix misleadingNamedPipeServer
example (#6590)3a6fdc0
license: fix formatting and remove year in licenses (#6451)2890d0c
metrics: fix blocking_threads count (#6551)Updates
webpki-roots
from 0.25.4 to 0.26.3Release notes
Sourced from webpki-roots's releases.
... (truncated)
Commits
a7b62a3
Cargo: version 0.26.2 -> 0.26.331d0038
lib: remove GLOBALTRUST 2020d541a7d
webpki-ccadb: distrust any CA with a distrust after datec9de4d6
Cargo: version 0.26.1 -> 0.26.25f55bf0
add FIRMAPROFESIONAL CA ROOT-A WEBe7c20c2
Upgrade to rcgen 0.1383cccd6
Update reqwest requirement from 0.11 to 0.1290de8af
Update rustls requirement from 0.22 to 0.230a4f749
Update x509-parser requirement from 0.15.1 to 0.16.0d94d1b7
Accept upstream changes in CCADB metadataUpdates
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
itertools
from 0.12.1 to 0.13.0Changelog
Sourced from itertools's changelog.
Commits
d5084d1
Prepare v0.13.0 release (#937)d7c99d5
TupleCombinations
is not lazy but must be used nonetheless074c7fc
KMergeBy
is not lazy but must be used nonetheless2ad9e07
assert_equal
: fixclippy::default_numeric_fallback
0d4efc8
Remove free functionget
05cc0ee
get(s..=usize::MAX)
should be fine whens != 0
3c16f14
get
: when is it ESI and/or DEI4dd6ba0
get
: panics if the range includesusize::MAX
7a9ce56
get(r: Range)
asSkip\<Take>
f676f2f
Remove the unspecified check about.get(exhausted_range_inclusive)
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 dataUpdates
regex
from 1.10.4 to 1.10.5Changelog
Sourced from regex's changelog.
Commits
0718fc5
1.10.5377463b
changelog: 1.10.4 and 1.10.568c4f0b
regex-automata-0.4.74757b5f
regex-syntax-0.8.41430b65
changelog: 1.10.41f9f9cc
bytes: escape invalid UTF-8 bytes in debug output for Matchab4c8d1
doc: fix duplicate phrasing typoddeb85e
cli/deps: update memmap2 to 0.9023f1c9
lite: fix attribute warning about rustfmt9c139f4
syntax: simplifyHir::dot
constructorsDependabot 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