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());
Detect conflicting schema_with attributes on fields with schemars annotations by @swlynch99 (#715)
This extends the existing avoidance mechanism to a new variant fixing #712.
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 rust-dependencies group with 10 updates in the / directory:
0.4.34
0.4.38
1.0.28
1.0.30
2.0.4
2.0.5
1.10.3
1.10.4
1.0.197
1.0.203
1.0.114
1.0.117
2.9.6
2.9.7
0.10.14
0.10.19
0.1.11
0.1.13
3.6.1
3.8.1
Updates
chrono
from 0.4.34 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
flate2
from 1.0.28 to 1.0.30Release notes
Sourced from flate2's releases.
Commits
d3bea90
Merge pull request #405 from Byron/fix-CI5048843
Merge pull request #407 from striezel-stash/actions-checkout-v442c86ce
Merge pull request #406 from striezel-stash/fix-some-typosf7b99e9
Update actions/checkout in GitHub Actions workflows to v4563f1c4
Fix typos1126a4a
prepare bugfix release to make docs work againbc1b3e9
CI verifies that docs can be built (#404)5ce4154
fix CI by assuring builds work with --all-features enabled (#404)9a25bc0
Merge pull request #403 from folkertdev/bump-version-zlib-rse9c87c0
zlib-rs support version bumpUpdates
indoc
from 2.0.4 to 2.0.5Release notes
Sourced from indoc's releases.
Commits
4bfa29f
Release 2.0.58d38299
Merge pull request #62 from ilyagr/docstring735ddcc
Update docstring forindoc!
60b5fa2
Remove 'remember to update' reminder from Cargo.toml15abc17
Test docs.rs documentation build in CIUpdates
regex
from 1.10.3 to 1.10.4Commits
aa2d8bd
1.10.4088d7f3
api: add Cow guarantee to replace APIa5ae351
regex-automata-0.4.69cf4a42
automata: fix bug where reverse NFA lacked an unanchored prefix10fe722
style: clean up some recent lint violationsd7f9347
regex-automata-0.4.507ef7f1
automata: make additional prefileter metadata publicUpdates
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_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
ureq
from 2.9.6 to 2.9.7Changelog
Sourced from ureq's changelog.
Commits
caedf92
2.9.7c7e81bd
Update changelog1f6e80c
Remove stray structfda696e
Bumps rustls to 0.22.440d56db
Update base64 to 0.22fbdeca8
Add link toAgentBuilder
71be542
fix: Determine the URL to connect to after middleware finishesfce56bb
Set default proxy ports to spec489b305
Fix unused importe303f09
Fix unused field in structUpdates
figment
from 0.10.14 to 0.10.19Commits
Updates
monostate
from 0.1.11 to 0.1.13Release notes
Sourced from monostate's releases.
Commits
0f5cdcb
Release 0.1.13429e835
Merge pull request #8 from dtolnay/checkcfg3ce918b
Resolve unexpected_cfgs warning7d82dc9
Release 0.1.1258b4704
Ignore uninlined_format_args pedantic clippy lint7b829d0
Raise required compiler to rust 1.604098a7b
Require a version of syn and proc-macro2 that has C-string support4024b93
Mark C-string literals as unsupported694d9df
Fix typo in readme and crate-level documentation3a076aa
Revert "Temporarily disable miri on doctests"Updates
serde_with
from 3.6.1 to 3.8.1Release notes
Sourced from serde_with's releases.
Commits
29ea916
Bump version to v3.8.1 (#737)13e48a9
Bump version to v3.8.18869b20
Do not emit schemars(deserialize_with = "...") (#736)eb77c40
Do not emit schemars(deserialize_with = "...")7e66d6b
Bump version to v3.8.0 (#734)4a4fcb3
Bump version to v3.8.0167e865
Implement (De)Serialization for Pinned Smart Pointers (#733)04de4ce
Add SerializeAs support for Pin<&'a T> and Pin<&'a mut T>9c2dac7
Implement (De)Serialization for Pinned Smart Pointers9989d8e
Add test that serde_conv will not triggerclippy::ptr_arg
(#731)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