Skip to content

Replace chrono with time - #608

Open
Jake-Shadle wants to merge 4 commits into
superfly:mainfrom
EmbarkStudios:remove-chrono
Open

Jake-Shadle wants to merge 4 commits into
superfly:mainfrom
EmbarkStudios:remove-chrono

Conversation

@Jake-Shadle

@Jake-Shadle Jake-Shadle commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

chrono has been marked unmaintained https://rustsec.org/advisories/RUSTSEC-2026-0543.html, so this change just replaces the timestamp usage in corro-pg with time as that is already used in this workspace, so felt like a smaller change than using eg. jiff 1.0, especially since all of the SQL crates depended on by this crate already support time, but either don't support jiff at all, or are using the pre-1.0 version whose release is what triggered the advisory for chrono.

Personally speaking, jiff is much nicer to work with so once those crates use 1.0 it would probably be nice to consolidate on that instead of time, but that's of course up to the maintainers.

@Jake-Shadle
Jake-Shadle requested a review from a team as a code owner November 19, 2026 14:02
@gorbak25

Copy link
Copy Markdown
Contributor

@Jake-Shadle let's standardise on jiff long term and merge. this PR for now. I will open an tracking issue. Can u run the linter?

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.

2 participants