sn_fake_clock

Crates.iosn_fake_clock
lib.rssn_fake_clock
version0.4.14
sourcesrc
created_at2020-09-01 13:39:42.467177
updated_at2021-06-09 11:15:26.615847
descriptionFake clock for deterministic testing of code depending on time.
homepagehttps://maidsafe.net
repositoryhttps://github.com/maidsafe/sn_fake_clock
max_upload_size
id283398
size31,066
David Irvine (dirvine)

documentation

https://docs.rs/sn_fake_clock

README

sn_fake_clock

Crate Documentation
Documentation
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

This 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.

Contributing

Want to contribute? Great :tada:

There are many ways to give back to the project, whether it be writing new code, fixing bugs, or just reporting errors. All forms of contributions are encouraged!

For instructions on how to contribute, see our Guide to contributing.

Commit count: 0

cargo fmt