picky
picky copied to clipboard
Bump time from 0.1.32 to 0.2.1 in /server/prototypes/rust/intersection
Bumps time from 0.1.32 to 0.2.1.
Release notes
Sourced from time's releases.
v0.2.1
Changed/Fixed
Duration
now allows for the nanoseconds component to be negative. Previously, it was not possible to directly construct a value between 0 and -1 seconds. As a result of this change, a number of method signatures were changed to accommodate the sign.
Duration
was also re-implemented, which allows for a number of methods to becomeconst fn
.Minimum supported Rust version: 1.40.0
v0.2.0
See #190 for major details. This is essentially a new crate compared to v0.1, and only has a few methods for back-compatibility where trivially feasible.
Minimum supported Rust version: 1.40.0
Changelog
Sourced from time's changelog.
0.2.19 [2020-09-12]
Fixed
- The build script now declares a dependency on the
COMPILING_UNDER_CARGO_WEB
environment variable.- Parsing the
%D
specifier no longer requires padding on the month. Previously,Err(InvalidMonth)
was incorrectly returned.- A
std::time::Duration
that is larger thantime::Duration::max_value()
now correctly returnsOrdering::Greater
when compared.- Multiplying and assigning an integer by
Sign::Zero
now sets the integer to be zero. This previously left the integer unmodified.0.2.18 [2020-09-08]
Changed
- The following functions are
const fn
on rustc ≥ 1.46:
Date::try_from_ymd
Date::try_from_yo
Time::try_from_hms
Time::try_from_hms_milli
Time::try_from_hms_micro
Time::try_from_hms_nano
- An
error
module has been created where all existing error types are contained. TheError
suffix has been dropped from these types.- An
ext
module has been created where extension traits are contained.- A
util
module has been created where utility functions are contained.error::ComponentRange
now implementsCopy
.For back-compatibility, all items that were moved to newly-contained modules have been re-exported from their previous locations (and in the case of the
error
module, with their previous name).Fixes
Parsing
format::Rfc3339
now correctly handles the UTC offset (#274).0.2.17 [2020-09-01]
Changed
The following functions are
const fn
on rustc ≥ 1.46:
Date::year
Date::month
Date::day
Date::month_day
Date::ordinal
Date::as_ymd
Date::as_yo
... (truncated)
Commits
- See full diff 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 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) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.