Any formattable/parsable type can now be used with the time::serde::format_description! macro.
Weekday::nth_next
Changed
The minimum supported Rust version is now 1.65.0.
0.3.20 [2023-02-24]
Changed
The minimum supported Rust version is now 1.63.0.
On Unix-based operating systems with known thread-safe environments, functions obtaining the local
offset no longer require a check that the program is single-threaded. This currently includes
MacOS, illumos, and NetBSD.
Added
[ignore] component in format descriptions. A count modifier is required, indicating the number
of bytes to ignore when parsing.
[unix_timestamp] component in format descriptions. This is currently only usable with
OffsetDateTime. Users can choose between seconds, milliseconds, microseconds, and nanoseconds,
and whether the sign is mandatory or optional.
Fixed
The API for declaring soundness now uses stricter atomic orderings internally.
0.3.19 [2023-02-16]
Fixed
This includes the update to the format_description! macro, which was supposed to be included in
0.3.18.
0.3.18 [2023-02-16]
Changed
The minimum supported Rust version is now 1.62.0.
Added
[first] and [optional] items can now be included in format descriptions. To parse this at
runtime, you must use the format_description::parse_owned method.
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 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
22ae579
v0.3.21 release8757bef
Update type size test92cf8e7
Improve safety documentation forset_soundness
6795714
ImplementWeekday::nth_next
(#544)4507d07
Use workspace dependencieseb55be2
Use let-else directlyfadac54
Hide long-deprecated items79ca269
Create, use API for magic constants216d872
Add security policyc644bd2
Remove targets with unavailable stdlibDependabot 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 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)