time 0.3.46

Date and time library. Fully interoperable with the standard library. Mostly compatible with #![no_std].
Documentation
1
2
3
4
5
6
7
use rstest::rstest;
use time::convert::*;

#[rstest]
fn issue_749() {
    assert_eq!(Nanosecond::per(Second), 1_000_000_000u32);
}