jwodder / julian-rs

Convert between Julian day numbers and Julian & Gregorian calendars
MIT License
3 stars 1 forks source link

[cargo](deps): Bump the deps group with 4 updates #80

Closed dependabot[bot] closed 9 months ago

dependabot[bot] commented 9 months ago

Bumps the deps group with 4 updates: chrono, thiserror, num-traits and thiserror-impl.

Updates chrono from 0.4.33 to 0.4.34

Release notes

Sourced from chrono's releases.

0.4.34

Notable changes

  • In chrono 0.4.34 we finished the work to make all methods const where doing so is supported by rust 1.61.
  • We renamed the Duration type to TimeDelta. This removes the confusion between chrono's type and the later Duration type in the standard library. It will remain available under the old name as a type alias for compatibility.
  • The Windows implementation of Local is rewritten. The new version avoids panics when the date is outside of the range supported by windows (the years 1601 to 30828), and gives more accurate results during DST transitions.
  • The Display format of TimeDelta is modified to conform better to ISO 8601. Previously it converted all values greater than 24 hours to a value with days. This is not correct, as doing so changes the duration from an 'accurate' to a 'nominal' representation to use ISO 8601 terms.

Fixes

Additions

Changes

  • Rename Duration to TimeDelta, add type alias (#1406)
  • Make TimeDelta methods const (#1337)
  • Make remaining methods of NaiveDate, NaiveWeek, NaiveTime and NaiveDateTime const where possible (#1337)
  • Make methods on DateTime const where possible (#1400)
  • Make Display format of TimeDelta conform better to ISO 8601 (#1328)

Documentation

  • Fix the formatting of timestamp_micros's Example doc (#1338 via #1386, thanks @​emikitas)
  • Specify branch for GitHub Actions badge and fix link (#1388)
  • Don't mention some deprecated methods in docs (#1395)
  • Remove stray documentation from main (#1397)
  • Improved documentation of TimeDelta constructors (#1385, thanks @​danwilliams)

Internal

  • Switch branch names: 0.4.x releases are the main branch, work on 0.5 happens in the 0.5.x branch (#1390, #1402).
  • Don't use deprecated method in impl Arbitrary for DateTime and set up CI test (#1336)
  • Remove workaround for Rust < 1.61 (#1393)
  • Bump codecov/codecov-action from 3 to 4 (#1404)
  • Remove partial support for handling -0000 offset (#1411)
  • Move TOO_LONG error out of parse_internal (#1419)

Thanks to all contributors on behalf of the chrono team, @​djc and @​pitdicker!

Commits
  • dc19606 Prepare 0.4.34
  • 58a2149 Add StrftimeItems::parse_to_owned
  • 59eeb8c Add StrftimeItems::parse
  • 79de122 Add more documentation to StrftimeItems::new_with_locale
  • 5b7cf85 Add more documentation to StrftimeItems::new
  • be6af79 Make Display format of TimeDelta conform better to ISO 8601
  • d1cf0e9 Add test for issue 651
  • 0ef34e4 Extend test to more distant dates
  • fc67f3e Remove obsolete test
  • acb693a Windows: rewrite using GetTimeZoneInformationForYear
  • Additional commits viewable in compare view


Updates thiserror from 1.0.56 to 1.0.57

Release notes

Sourced from thiserror's releases.

1.0.57

  • Generate more efficient Display impl for error message which do not contain any interpolated value (#286, thanks @​nyurik)
Commits
  • 1d106b1 Release 1.0.57
  • 8a5c4d1 Use write_str when args only consists of trailing comma
  • f790bee Phrase flag in terms of whether core::fmt machinery is required
  • d43b759 Ignore needless_raw_string_hashes pedantic clippy lint in test
  • d09c418 Touch up PR 286
  • 097251d Merge pull request #286 from nyurik/litstr
  • cd79876 optimize by avoiding second fmt.value() call
  • d7e738e Optimize simple literals for Display::fmt
  • 0717de3 Update ui test suite to nightly-2024-02-08
  • c7c7547 Update ui test suite to nightly-2024-01-31
  • See full diff in compare view


Updates num-traits from 0.2.17 to 0.2.18

Changelog

Sourced from num-traits's changelog.

Release 0.2.18 (2024-02-07)

Contributors: @​andrewjradcliffe, @​cuviper, @​tarcieri, @​tdelabro, @​waywardmonkeys

Commits
  • eb20b40 Merge pull request #309 from cuviper/release-0.2.18
  • 5c2cc9b Release 0.2.18
  • a095b70 Merge pull request #303 from tarcieri/constant-traits
  • 67d9e74 Avoid Self constructor for Wrapping
  • 6ab6de2 Update src/identities.rs
  • e48ffe2 Update src/identities.rs
  • bc42b83 Rename to ConstZero/ConstOne and re-export from toplevel
  • 536dcf2 Remove blanket impls; add impls for Wrapping
  • 06c0ee0 Add ZeroConstant and OneConstant traits
  • 29c5b46 Merge pull request #308 from cuviper/ci
  • Additional commits viewable in compare view


Updates thiserror-impl from 1.0.56 to 1.0.57

Release notes

Sourced from thiserror-impl's releases.

1.0.57

  • Generate more efficient Display impl for error message which do not contain any interpolated value (#286, thanks @​nyurik)
Commits
  • 1d106b1 Release 1.0.57
  • 8a5c4d1 Use write_str when args only consists of trailing comma
  • f790bee Phrase flag in terms of whether core::fmt machinery is required
  • d43b759 Ignore needless_raw_string_hashes pedantic clippy lint in test
  • d09c418 Touch up PR 286
  • 097251d Merge pull request #286 from nyurik/litstr
  • cd79876 optimize by avoiding second fmt.value() call
  • d7e738e Optimize simple literals for Display::fmt
  • 0717de3 Update ui test suite to nightly-2024-02-08
  • c7c7547 Update ui test suite to nightly-2024-01-31
  • 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (fc077b8) 83.93% compared to head (38fa261) 83.93%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #80 +/- ## ======================================= Coverage 83.93% 83.93% ======================================= Files 7 7 Lines 3206 3206 ======================================= Hits 2691 2691 Misses 515 515 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.