fake_instant

Crates.iofake_instant
lib.rsfake_instant
version0.5.0
sourcesrc
created_at2019-11-05 07:35:25.265118
updated_at2023-04-29 19:41:10.903563
descriptionFake clock for deterministic testing of code depending on time.
homepagehttps://github.com/MingweiSamuel/fake_instant
repositoryhttps://github.com/MingweiSamuel/fake_instant
max_upload_size
id178218
size16,923
Mingwei Samuel (MingweiSamuel)

documentation

https://docs.rs/fake_instant

README

fake_instant

crates.io docs.rs gh-actions CI

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 https://opensource.org/licenses/BSD-3-Clause) or the MIT license (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.

Commit count: 55

cargo fmt