| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add a conversion from TimeoutError to IoError. | Nick Mathewson | 2021-05-21 | 1 | -0/+6 |
| | | |||||
| * | Split mocking parts of rtcompat into new rtmock crate. | Nick Mathewson | 2021-05-03 | 1 | -167/+1 |
| | | | | | | Since these parts are testing-only, let's take steps to make sure we don't ship them in production by accident. | ||||
| * | Remove most pin_project usage in tor_rtcompat. | Nick Mathewson | 2021-04-28 | 1 | -7/+5 |
| | | |||||
| * | Enforce (and obey) clippy lints about exhaustive enums, structs. | Nick Mathewson | 2021-04-27 | 1 | -0/+1 |
| | | | | | | | | | These lints force us to declare our exported enums and exhaustive-looking structs as non-exhaustive (so that we can add to them in the future without breaking our API) or to explicitly disable the warning for a given enum/struct (to say that we _intend_ for additions to be a breaking change). | ||||
| * | Add a yield_now() call to MockSleepProvider::advance() | Nick Mathewson | 2021-04-21 | 1 | -9/+8 |
| | | | | | | | | | This is almost always what we want for testing: the task that is advancing time wants to give the other tasks a chance to run. Doing this turns MockSleepProvider::advance() into an async function. | ||||
| * | Tests for sleep_until_wallclock. | Nick Mathewson | 2021-04-20 | 1 | -6/+175 |
| | | |||||
| * | Add "now" functions to SleepProvider. | Nick Mathewson | 2021-04-19 | 1 | -1/+1 |
| | | |||||
| * | rtcompat: mark some outputs as must-use. | Nick Mathewson | 2021-04-19 | 1 | -0/+2 |
| | | |||||
| * | tor_rtcompat: Documentation and cleanups | Nick Mathewson | 2021-04-17 | 1 | -22/+91 |
| | | |||||
| * | Remove need for async_trait in SleepProviderExt | Nick Mathewson | 2021-04-17 | 1 | -11/+42 |
| | | |||||
| * | Move timer functions into an extension trait. | Nick Mathewson | 2021-04-17 | 1 | -0/+107 |
