Skip to content

chore(deps)!: upgrade rust crate jiff to v1.0.0 - #364

Draft
xtqqczze wants to merge 2 commits into
uutils:mainfrom
xtqqczze:deps/jiff
Draft

xtqqczze wants to merge 2 commits into
uutils:mainfrom
xtqqczze:deps/jiff

Conversation

@xtqqczze

@xtqqczze xtqqczze commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Closes #363.
Closes #365.

Breaking changes

  • Public APIs now use jiff::ZonedDateTime instead of jiff::Zoned, including ParsedDateTime::InRange and related methods. Update downstream Jiff imports and type references.
  • The minimum supported Rust version is now 1.85.

@xtqqczze
xtqqczze force-pushed the deps/jiff branch 2 times, most recently from 7168b22 to 04d5fab Compare November 16, 2026 04:37
@codspeed

codspeed Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will improve performance by 4%

1 warning

⚠️ 15 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

⚡ 1 improved benchmark
✅ 20 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ parse_epoch_timestamp 11.6 µs 11.1 µs +4%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing xtqqczze:deps/jiff (5d0e582) with main (027bcd3)

Open in CodSpeed

@codecov

codecov Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.97%. Comparing base (027bcd3) to head (5d0e582).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #364   +/-   ##
=======================================
  Coverage   98.97%   98.97%           
=======================================
  Files          21       21           
  Lines        4696     4698    +2     
  Branches      143      143           
=======================================
+ Hits         4648     4650    +2     
  Misses         47       47           
  Partials        1        1           
Flag Coverage Δ
macos_latest 98.97% <100.00%> (+<0.01%) ⬆️
ubuntu_latest 98.97% <100.00%> (+<0.01%) ⬆️
windows_latest 12.38% <4.76%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Upgrade rust crate jiff to v1

1 participant