Skip to content

fix(deps): replace direct chrono dependency with jiff - #209

Merged
Harold Hunt (huntharo) merged 2 commits into
mainfrom
fix/replace-chrono-with-jiff
Nov 19, 2026
Merged

Harold Hunt (huntharo) merged 2 commits into
mainfrom
fix/replace-chrono-with-jiff

Conversation

@huntharo

Copy link
Copy Markdown
Contributor

Summary

cargo xtask lint fails when cargo-deny reports RUSTSEC-2026-0543 for chrono 0.4.45. PwrRoute declares chrono directly, so the workspace policy treats the unmaintained advisory as an error. RustSec advisory

Move the app’s local time formatting and calendar-day calculations to jiff, including Activity counts, Settings timestamps, diagnostic logs, and fixture times. Update the lockfile and regenerate the third-party notices.

Verification

Check on macOS arm64 Result
cargo deny check Reproduced RUSTSEC-2026-0543 at 45aa3b0. All checks passed with the migration.
cargo xtask lint Passed, including the dependency audit and license notice check.
cargo xtask test 1,577 passed and one ignored, including the local-midnight and daylight-saving regressions.
Clock format comparison against chrono Matched across eight time zones, including daylight-saving transitions and fractional UTC offsets.

Notes

  • GPUI and rmcp still bring in chrono transitively. The existing unmaintained = "workspace" policy applies to direct workspace dependencies. cargo-deny policy
  • Linux and Windows verification is pending CI.

@huntharo
Harold Hunt (huntharo) merged commit f02a8be into main Nov 19, 2026
13 checks passed
@huntharo
Harold Hunt (huntharo) deleted the fix/replace-chrono-with-jiff branch November 19, 2026 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant