#time #date-time #reserved

time-preview

Reserved for use by the time crate

1 unstable release

Uses old Rust 2015

0.0.0 Sep 27, 2019

#354 in #date-time

MIT/Apache

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

~0.4–305KB