▲ | echelon 13 hours ago | |
Totally off-topic: what are the selling points of `jiff` vs chrono, time, std::time, etc.? Totally love your work! We've been sponsoring for awhile even though it isn't much. Thank you for all you do! | ||
▲ | burntsushi 12 hours ago | parent [-] | |
Have you seen https://docs.rs/jiff/latest/jiff/_documentation/comparison/i... and https://docs.rs/jiff/latest/jiff/_documentation/design/index...? I'd be happy to answer more specific questions. Short opinionated summary is: nicer API, fewer footguns, more features, better support for calendar durations, integrated tzdb support and lots more to be honest. Note that `std::time` just gives you a platform independent but bare bones access to monotonic and system clocks. Some kind of datetime library is needed if you want to do anything with Unix timestamps beyond treat them as an integer. |