The new version of Chrono, the date and time library for Rust, has been released.
This version fixes the dependency issues raised in 0.3.1 (in lieu of this release, 0.3.1 is now yanked as well) while moving towards the more idiomatic API convention. This version was developed in relatively heavy time constraints, but I have managed to include several goodies:
-
DateTime
types can now be serialized to, or deserialized from the integral UNIX timestamp. -
DateTime
types andstd::time::SystemTime
can be freely converted back and forth viaFrom
. -
IsoWeek
type has been introduced. - The documentation has been streamlined by removing intermediate implementation modules and accounting for several minor but essential suggestions.
As always, the full list of changes is available in CHANGELOG.md
. Enjoy!