3 releases
Uses old Rust 2015
0.0.2 | Jan 29, 2019 |
---|---|
0.0.1 | Nov 26, 2018 |
0.0.0 | Nov 25, 2018 |
#9 in #epoch-time
Used in sphinx_replay_cache
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
~1MB
~18K SLoC