Crates.io | utctimestamp |
lib.rs | utctimestamp |
version | 0.1.4 |
source | src |
created_at | 2020-01-02 23:13:46.306792 |
updated_at | 2020-10-24 17:21:38.408788 |
description | Simple & fast 64 bit UTC time types |
homepage | |
repository | https://github.com/athre0z/utctimestamp |
max_upload_size | |
id | 194664 |
size | 28,596 |
Simple & fast UTC time types
[dependencies]
utctimestamp = "0.1"
While chrono is great for dealing with time in most cases, its 96-bit integer design can be costly when processing and storing large amounts of timestamp data.
This lib solves this problem by providing very simple UTC timestamps that can be
converted from and into their corresponding chrono counterpart using Rust's
From
and Into
traits. chrono is then used for all things that aren't expected
to occur in big batches, such as formatting and displaying the timestamps.
serde-support
— Enable (de)serialization support with serde