This includes the update to the format_description! macro, which was supposed to be included in
0.3.18.
0.3.18 [2022-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.
format_description::parse_borrowed
An API has been added to opt out of soundness checks for obtaining the local offset. This replaces
the previous, officially unsupported RUSTFLAGS="--cfg unsound_local_offset". End users may call
time::util::local_offset::set_soundness(time::util::local_offset::Soundness::Unsound). This
method is unsafe because it enables undefined behavior if its safety requirements are not
upheld. Note that libraries must not set this to Unsound, as it is impossible for a library
to guarantee end users uphold the required invariants.
Fixed
Correctly parse offset sign when hour is zero. The parse was previously unconditionally positive,
even if the sign indicated otherwise.
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)
Bumps time from 0.3.17 to 0.3.19.
Release notes
Sourced from time's releases.
Changelog
Sourced from time's changelog.
Commits
6afe656
0.3.19 release3df1120
0.3.18 release9615d56
Require user to provide version to methodsc45264c
#[derive(Default)]
on enums, bump MSRV to 1.6243862d2
Run CI on ubuntu-latestb5c4bc1
Let user invoke UB if they choose8dfc955
Lints for Rust 1.662ef301f
Fix build status badge (#534)09818da
Silence warning about unused methodbeac001
Change toversion=X
, implement for serde helperDependabot 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)