Bump time from 0.3.22 to 0.3.29
Bumps time from 0.3.22 to 0.3.29.
Release notes
Sourced from time's releases.
v0.3.29
See the changelog for details.
v0.3.28
See the changelog for details.
v0.3.27
See the changelog for details.
v0.3.26
See the changelog for details.
v0.3.25
See the changelog for details.
v0.3.24
See the changelog for details.
v0.3.23
See the changelog for details.
Changelog
Sourced from time's changelog.
0.3.29 [2023-09-24]
Added
- Niche value optimization for
Datehas been added. BothDateandOption<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 thetime::convertmodule for more information.Changed
- The diagnostic for
--cfg unsound_local_offsethas 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::OffsetHourhas 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 whereformat_description!orformat_description::parseis used.Fixed
- Adding or subtracting a
std::time::Durationto/from anOffsetDateTimewill 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
Iso8601format 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
UnexpectedTrailingCharacterserror variant has been moved toParseFromDescription. 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
serdedependency requirement to>= 1.0.184where the binaries have been removed.0.3.26 [2023-08-18]
This release contains only a single change.
serdeis required to be a version prior to 1.0.171.
... (truncated)
Commits
c96bb1av0.3.29 release6d0b341Rework, expose unit conversions313f980Add niche value optimization toDatebcbca6ePartially move torstest9abaf30Revert default forOffsetHourmodifier6248992Address lints5b48552Avoid integer overflow in arithmetic5813d61Remove unusedfeature(no_coverage)opt-in (#622)6aa8db5Require internal macros be explicitly imported5aa84bdEliminate use ofensure_value_in_range!- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)