Skip to content

v0.2.1

Compare
Choose a tag to compare
@jhpratt jhpratt released this 25 Dec 01:48
733f90d

Changed/Fixed

Duration now allows for the nanoseconds component to be negative. Previously, it was not possible to directly construct a value between 0 and -1 seconds. As a result of this change, a number of method signatures were changed to accommodate the sign.

Duration was also re-implemented, which allows for a number of methods to become const fn.

Minimum supported Rust version: 1.40.0