- Validate the number of nanoseconds during deserialization (#22).
- Honor formatter precision specifier (
{:.N}
) for nanosecond display (#19).
⚠️ Breaking API changes: Makenew()
return anOption
(#16).⚠️ Breaking API changes: Implement some newtry_from_*
methods and rename some formerfrom_*
methods intotry_from_*
for consistency (#17).- Use
Nix
crate instead oflibc
to removeunsafe
innow()
implementation (#18).
- Make it possible to initialize a
TaiClock
from an arbitraryInstant
or an arbitrarySystemTime
(#12). - Derive more traits on
TaiTime
andTaiClock
.
- Add
TaiClock
, a monotonic clock that can generate TAI timestamps on all systems wherestd
is available (#8).
- Enable construction of timestamps from a date-time representation and
implement the
FromStr
andDisplay
traits to enable conversions to and from date-time strings (#4). ⚠️ Breaking API changes: Add support for the Linux system TAI clock (#5) and rename formernow
method tonow_from_utc
.⚠️ Breaking API changes: Panic instead of returning errors on overflow (#7).
Initial release