#time #utilities #functions

time

Utilities for working with time-related functions in Rust

42 releases

0.1.39 Jan 3, 2018
0.1.38 Jul 7, 2017
0.1.37 Apr 24, 2017
0.1.36 Jan 13, 2017
0.1.0 Nov 27, 2014

#8 in Date and time

Download history 41103/week @ 2018-07-24 44104/week @ 2018-07-31 47606/week @ 2018-08-07 46541/week @ 2018-08-14 43963/week @ 2018-08-21 46600/week @ 2018-08-28 46984/week @ 2018-09-04 52397/week @ 2018-09-11 50939/week @ 2018-09-18 52202/week @ 2018-09-25 52597/week @ 2018-10-02 54094/week @ 2018-10-09 45779/week @ 2018-10-16

156,166 downloads per month
Used in 3,268 crates (676 directly)

MIT/Apache

123KB
3K SLoC

time

Utilities for working with time-related functions in Rust

Build Status Build status

Documentation

Notes

This library is no longer actively maintained, but bugfixes will be added (details).

In case you're looking for something a little fresher and more actively maintained have a look at the chrono crate.

Usage

Put this in your Cargo.toml:

[dependencies]
time = "0.1"

And this in your crate root:

extern crate time;

lib.rs:

Simple time handling.

Usage

This crate is on crates.io and can be used by adding time to the dependencies in your project's Cargo.toml.

[dependencies]
time = "0.1"

And this in your crate root:

extern crate time;

This crate uses the same syntax for format strings as the strftime() function from the C standard library.

Dependencies

~735KB