15 releases
0.4.14 | Jun 9, 2021 |
---|---|
0.4.13 | Mar 3, 2021 |
0.4.11 | Feb 25, 2021 |
0.4.9 | Jan 20, 2021 |
0.4.2 | Sep 17, 2020 |
#447 in Testing
11,086 downloads per month
Used in 4 crates
11KB
207 lines
sn_fake_clock
Crate | 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.