# fake_instant [![crates.io](https://img.shields.io/crates/v/fake_instant.svg)](https://crates.io/crates/fake_instant) [![docs.rs](https://docs.rs/fake_instant/badge.svg)](https://docs.rs/fake_instant) [![gh-actions CI](https://github.com/MingweiSamuel/fake_instant/actions/workflows/ci.yml/badge.svg)](https://github.com/MingweiSamuel/fake_instant/actions/workflows/ci.yml) This crate supplies a `FakeInstant` 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 This (former) SAFE Network library is dual-licensed under the Modified BSD ([LICENSE-BSD](LICENSE-BSD) https://opensource.org/licenses/BSD-3-Clause) or the MIT license ([LICENSE-MIT](LICENSE-MIT) http://opensource.org/licenses/MIT) at your option. ## Contribution Copyrights in the SAFE Network are retained by their contributors. No copyright assignment is required to contribute to this project.