Skip to content

Replace chrono (RUSTSEC-2026-0543: unmaintained) #900

Open

Description

@adityamukho

RUSTSEC-2026-0543, published 2026-11-17, marks chrono as unmaintained (all versions). It is an unmaintained advisory, not a vulnerability. Minigraf depends on chrono 0.4.45 directly (Cargo.toml, serde + std, no default features); no other dependency pulls it in.

cargo-deny (policy.yml) fails on it, so every PR on main and v3 went red. The advisory is ignored in deny.toml on both branches as a stopgap, with a comment pointing here.

Where chrono is used

src/temporal.rs (UTC-only timestamp parsing, which already avoids chrono's local-timezone code, GHSA-wcg3-cvx6-7396) and timestamp handling in src/db.rs, src/graph/, src/browser/.

To do

  • Replace chrono with a maintained crate; the advisory names jiff and time. Pick on binary size (1,250 KiB gate on v3) and wasm32 support.
  • Keep parsing results identical (UTC only, same accepted formats); add tests for the accepted forms first.
  • Remove the deny.toml ignore on the branch that drops chrono. Backport to main only if the support policy calls for it.

Activity

  1. added 2 commits that reference this issue on Nov 17, 2026
  2. added this to the v3.0.0 milestone on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions