3 releases

0.0.2 Jan 29, 2019
0.0.1 Nov 26, 2018
0.0.0 Nov 25, 2018

#2 in #epoch

31 downloads per month
Used in sphinx_replay_cache

AGPL-3.0-only

6KB
93 lines

epoch

This crate provides a helper functions for making epoch time calculations for a given epoch duration.

Usage

To import epoch, add the following to the dependencies section of your project's Cargo.toml:

epoch = "^0.0.2"

Then import the crate as:

extern crate epoch;

acknowledgments

Inspired by Yawning Angel's epochtime golang module:

license

GNU AFFERO GENERAL PUBLIC LICENSE

Dependencies

~765KB
~10K SLoC