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());
Bumps the minor group with 16 updates in the / directory:
1.0.81
1.0.86
1.0.114
1.0.119
1.0.58
1.0.61
0.15.0
0.15.1
0.10.0
0.12.0
0.4.21
0.4.22
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
2.0.4
2.0.5
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.119Release notes
Sourced from serde_json's releases.
Commits
b48b9a3
Release 1.0.1198878cd7
Make shift_insert available for inlining like other Map methods352b7ab
Document the cfg required for Map::shift_insert to existc17e63f
Merge pull request #1149 from joshka/master309ef6b
Add Map::shift_insert()a9e089a
Merge pull request #1146 from haouvw/mastera83fe96
chore: remove repeat wordsc4f24f3
Release 1.0.11851d94eb
Combine Map's Hash into one impl5e7bedc
Touch up PR 1127Updates
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.12.0Release notes
Sourced from lambda_runtime's releases.
... (truncated)
Commits
f8cc32d
Release runtime 0.12 and extension 0.11 (#900)3a049fe
Organize imports (#899)f484569
Add OpenTelemetry layer as optional (#898)cc239ea
Relax blanket implementation of Diagnostic (#897)92cdd74
Make child-spans work as expected when using the lambda-runtime (#896)175acb6
Update README.md (#895)d38b1a4
Bump braces from 3.0.2 to 3.0.3 in /examples/http-axum/cdk (#894)6382a85
Release new patch versions for 0.11 (#893)85d1cb8
Log function error (#892)d03bbc4
fix(events): makes ApproximateCreationDateTime optional in dynamo event strea...Updates
log
from 0.4.21 to 0.4.22Changelog
Sourced from log's changelog.
Commits
d5ba2cf
Merge pull request #634 from rust-lang/cargo/0.4.22d1a8306
prepare for 0.4.22 release46894ef
Merge pull request #633 from rust-lang/feat/panic-infoe0d389c
Merge pull request #632 from rust-lang/feat/loosen-atomicsc9e5e13
use Location::caller() for file and line info507b672
loosen orderings for logger initializationc879b01
Merge pull request #628 from Thomasdezeeuw/fix-warnings405fdb4
Merge pull request #627 from Thomasdezeeuw/check-features1307ade
Remove unneeded import710560e
Don't use --all-features in CIUpdates
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
<... _Description has been truncated_