Get the latest tech news

Jiff: Datetime library for Rust


A date-time library for Rust that encourages you to jump into the pit of success. - BurntSushi/jiff

The focus of this library is providing high level datetime primitives that are difficult to misuse and have reasonable performance. Here is a quick example that shows how to parse a typical RFC 3339 instant, convert it to a zone aware datetime, add a span of time and losslessly print it: The most important design goal of Jiff is to be a high level datetime library that makes it hard to do the wrong thing.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of brand

brand

Photo of author

author

Photo of Rust

Rust

Related news:

News photo

James C. Scott, author of Seeing Like a State, has died

News photo

Investing in Rust

News photo

Playing guitar tablatures in Rust