7 releases

new 0.4.6 Oct 21, 2020
0.4.5 Oct 21, 2020
0.4.2 Sep 17, 2020
Download history 94/week @ 2020-08-27 191/week @ 2020-09-03 222/week @ 2020-09-10 505/week @ 2020-09-17 234/week @ 2020-09-24 183/week @ 2020-10-01 85/week @ 2020-10-08 59/week @ 2020-10-15

523 downloads per month
Used in 2 crates

MIT OR BSD-3-Clause

11KB
207 lines

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 🎉

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.

No runtime deps