1 unstable release
Uses old Rust 2015
0.0.0 | Sep 27, 2019 |
---|
#305 in #date-time
29 downloads per month
130KB
3K
SLoC
time
Utilities for working with time-related functions in Rust
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–300KB