powerfmt::smart_display::SmartDisplay has been added for the main types in the library. These
implementations ensure that values follow the requested fill, width, and alignment when using
format! or similar macros. Display is implemented in terms of SmartDisplay.
Fixed
Large values no longer wrap around in release mode when using NumericalDuration or
NumericalStdDuration.
0.3.29 [2023-09-24]
Added
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.
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)
Updates the requirements on time to permit the latest version.
Release notes
Sourced from time's releases.
Changelog
Sourced from time's changelog.
... (truncated)
Commits
72f03e0
v0.3.30 release08ed41d
Address clippy lints9564e59
ImplementSmartDisplay
for main typesdec2a2d
Userstest_reuse
to split tests further1ebc5e3
Added closing markdown tag (#628)75e255d
Avoid wrapping inext
when using--release
c96bb1a
v0.3.29 release6d0b341
Rework, expose unit conversions313f980
Add niche value optimization toDate
bcbca6e
Partially move torstest
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