Skip to content

Chore(deps): update time requirement from 0.1.12 to 0.3.36 in /rust

dependabot-bot requested to merge dependabot-cargo-rust-time-0.3.36 into master

Updates the requirements on time to permit the latest version.

Release notes

Sourced from time's releases.

v0.3.36

See the changelog for details.

Changelog

Sourced from time's changelog.

0.3.36 [2024-04-10]

# Fixed

  • FormatItem can be used as part of an import path. See #675 for details.

#675: time-rs/time#675

0.3.35 [2024-04-10]

Added

  • Duration::checked_neg
  • ext::InstantExt, which provides methods for using time::Duration with std::time::Instant

Changed

  • Instant is deprecated. It is recommended to use std::time::Instant directly, importing time::ext::InstantExt for interoperability with time::Duration.
  • FormatItem has been renamed to BorrowedFormatItem, avoiding confusion with OwnedFormatItem. An alias has been added for backwards compatibility.

Fixed

  • The weekday is optional when parsing RFC2822.
  • The range of sub-second values in Duration is documented correctly. The previous documentation contained an off-by-one error.
  • Leap seconds are now correctly handled when parsing ISO 8601.

0.3.34 [2024-02-03]

Fixed

Computing the local offset on Windows works again. It was broken in some cases in v0.3.32 and v0.3.33.

0.3.33 [2024-02-03]

Fixed

Builds targeting wasm32-unknown-unknown now work again.

0.3.32 [2024-02-01]

Added

  • Methods to replace the day of the year.
    • Date::replace_ordinal
    • PrimitiveDateTime::replace_ordinal
    • OffsetDateTime::replace_ordinal

... (truncated)

Commits
  • 3c3c546 pub use instead of pub type re-exporting
  • 266178d Update code coverage CI
  • 131049e v0.3.35 release
  • 9c15ee3 Permit leap seconds when parsing ISO 8601
  • d279d8d Fix invalid offset hour diagnostic test
  • f04a28f Eliminate unreachable branch
  • 06a096d Rename FormatItem to BorrowedFormatItem
  • fd664ee Include diagnostics regression
  • b8d09a7 Address nightly lints
  • 330865a Update deny.toml
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • @dependabot-bot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports