this post was submitted on 15 Nov 2026
24 points (100.0% liked)

Rust

8383 readers
8 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] BB_C@programming.dev 2 points 1 week ago (1 children)

It will continue to work as before. It's not like it's going to disappear or anything 😄

[–] chrash0@lemmy.world 1 points 1 week ago (1 children)

not exactly. if you’re just using it standalone you can continue to do so. however, many libraries are downstream consumers of chrono, so if you have a dependency on one of those it would be best to move to whatever they replace it with (jiff does seem to be the “blessed” successor)

[–] BB_C@programming.dev 1 points 1 week ago

it would be best

The path of least resistance maybe. But as long as you get access to the timestamp (since epoch) from whatever detetime type used, you can do whatever you want. You can even use a third crate if you prefer. It's neither a big deal, nor does it take that much effort to do.

And the timestamp is the only data you need on the wire to serialize for most use-cases, except for the few where you need to track time-zone changes alongside the timestamp.