fake_clock
Maintainer: Andreas Fackler (andreas.fackler@maidsafe.net)
Crate | Documentation | Linux/OS X | Windows | Issues |
---|---|---|---|---|
MaidSafe website | SAFE Dev Forum | SAFE Network Forum |
---|
Overview
This crate supplies a FakeClock
struct, which mimics the interface of std::time::Instant
and enables full control over the flow of time as perceived by the code during testing.
License
Licensed under either of
- the MaidSafe.net Commercial License, version 1.0 or later (LICENSE)
- the General Public License (GPL), version 3 (COPYING or http://www.gnu.org/licenses/gpl-3.0.en.html)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the MaidSafe Contributor Agreement (CONTRIBUTOR), shall be dual licensed as above, and you agree to be bound by the terms of the MaidSafe Contributor Agreement.