This crate provides a helper functions for making epoch time calculations for a given epoch duration.
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;
Inspired by Yawning Angel's epochtime golang module:
GNU AFFERO GENERAL PUBLIC LICENSE