utctimestamp

Crates.ioutctimestamp
lib.rsutctimestamp
version0.1.4
sourcesrc
created_at2020-01-02 23:13:46.306792
updated_at2020-10-24 17:21:38.408788
descriptionSimple & fast 64 bit UTC time types
homepage
repositoryhttps://github.com/athre0z/utctimestamp
max_upload_size
id194664
size28,596
Joel Höner (athre0z)

documentation

README

utctimestamp

Crates.io docs.rs

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.

Optional features

serde-support — Enable (de)serialization support with serde

Commit count: 15

cargo fmt