Replace chrono (unmaintained, RUSTSEC-2026-0543)

Open
#466 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
46/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
mysql, postgresql, rust
Domain
cli, databases

Research direction

Start by checking deny.toml and the direct chrono uses in datarig-core, then trace which dependencies still pull chrono in. The issue proposes accepting the advisory temporarily, replacing direct uses with jiff or time, and adding date and time formatting and parsing tests for every engine. Done means those tests pass and the advisory ignore can be removed once no dependency pulls chrono in.

Written by the indexing model from the issue text.

Description

internal
Need

cargo deny now fails on RUSTSEC-2026-0543: chrono is unmaintained (informational, no known vulnerability, all versions affected). datarig reaches it through datarig-core, and possibly through dependencies too. An unmaintained date/time crate is a long-term risk for a database client that reads and writes date and time values.

Plan
  • Short term: list the advisory in deny.toml as an accepted, informational warning with a pointer to this issue, so CI checks are meaningful again.
  • Replace chrono where datarig uses it directly (jiff or time), with tests pinning today's date/time formatting and parsing on every engine.
  • Track the dependencies that still pull it in; remove the ignore when nothing does.
Dominant language
Rust
Stars
166
Forks
8
Avg merge
4h 24m
Merged PRs (30d)
291

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DokaDev/datarig

All issues in DokaDev/datarig

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.