Niche value optimization for Date has been added. Both Date and Option<Date> are four bytes.
Unit conversions have been added. It is now possible to write Second::per(Day), which returns
the number of seconds in one day. See the types in the time::convert module for more
information.
Changed
The diagnostic for --cfg unsound_local_offset has been removed.
#![feature(no_coverage)] was previously used internally for code coverage. It is no longer used,
so it has been removed.
The default value for modifier::OffsetHour has been changed. This was unintentionally changed in
v0.3.17 and went unnoticed until now. The sign is now only present if needed by default, as was
the case previously. This does not affect any situation where format_description! or
format_description::parse is used.
Fixed
Adding or subtracting a std::time::Duration to/from an OffsetDateTime will not result in
integer overflow internally. It will still panic if the result is out of range.
0.3.28 [2023-08-27]
Added
More additional constants for the well-known Iso8601 format description have been added. This
avoids the need to manually configure the format.
An [end] component has been added. This is ignored during formatting, but is used to indicate
the end of input when parsing. If any input remains after this component, an error is returned.
This is useful when using the [first] component, as it avoids the need to reorder variants.
Changed
The exemption for MacOS introduced in 0.3.20 has been removed. This is because some supported
versions of MacOS do not meet the requirements for the exemption.
The UnexpectedTrailingCharacters error variant has been moved to ParseFromDescription. All
previously-existing locations of this variant have been deprecated and will no longer be returned.
0.3.27 [2023-08-22]
This sets the serde dependency requirement to >= 1.0.184 where the binaries have been removed.
0.3.26 [2023-08-18]
This release contains only a single change. serde is required to be a version prior to 1.0.171.
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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps time from 0.3.25 to 0.3.29.
Release notes
Sourced from time's releases.
Changelog
Sourced from time's changelog.
... (truncated)
Commits
c96bb1a
v0.3.29 release6d0b341
Rework, expose unit conversions313f980
Add niche value optimization toDate
bcbca6e
Partially move torstest
9abaf30
Revert default forOffsetHour
modifier6248992
Address lints5b48552
Avoid integer overflow in arithmetic5813d61
Remove unusedfeature(no_coverage)
opt-in (#622)6aa8db5
Require internal macros be explicitly imported5aa84bd
Eliminate use ofensure_value_in_range!
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