Skip to content

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

Merged
sylvestre merged 2 commits into
uutils:mainfrom
xtqqczze:deps/jiff
Nov 18, 2026
Merged

sylvestre merged 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%

2 warnings

⚠️ 14 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 benchmark with a significant change ran on different hardware

Its base and head results were measured on machines with a different CPU, core count or memory, so the change might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

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 (f54317d) 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 (f54317d).

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.

@xtqqczze
xtqqczze marked this pull request as ready for review November 17, 2026 03:23
@sylvestre

Copy link
Copy Markdown
Contributor

please split - min rust and jiff update

@xtqqczze

Copy link
Copy Markdown
Contributor Author

please split - min rust and jiff update

They are already split into separate commits, but both changes need to land together, so they are included in the same PR.

Comment thread Cargo.toml Resolved
@sylvestre
sylvestre merged commit d97197d into uutils:main Nov 18, 2026
15 checks passed
@xtqqczze
xtqqczze deleted the deps/jiff branch November 18, 2026 13:25
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

2 participants