#time #utilities #functions

time

Utilities for working with time-related functions in Rust

45 releases

0.1.42 Jan 8, 2019
0.1.41 Dec 13, 2018
0.1.40 May 10, 2018
0.1.39 Jan 3, 2018
0.1.0 Nov 27, 2014

#3 in Date and time

Download history 53637/week @ 2018-10-06 56048/week @ 2018-10-13 54168/week @ 2018-10-20 58108/week @ 2018-10-27 57918/week @ 2018-11-03 60816/week @ 2018-11-10 55578/week @ 2018-11-17 58840/week @ 2018-11-24 65801/week @ 2018-12-01 72778/week @ 2018-12-08 75876/week @ 2018-12-15 50138/week @ 2018-12-22 57052/week @ 2018-12-29 74972/week @ 2019-01-05 81751/week @ 2019-01-12

274,105 downloads per month
Used in 3,725 crates (730 directly)

MIT/Apache

125KB
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

~711KB