summaryrefslogtreecommitdiff
path: root/crates/tor-rtmock/src/task.rs
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'clippy' into 'main'Ian Jackson2023-08-231-0/+1
|\ | | | | | | | | clippy: Suppress needless_pass_by_value in tests See merge request tpo/core/arti!1535
| * Run maint/add_warning to add lint block everywhereIan Jackson2023-08-231-0/+1
| |
* | tor-rtmock: Relax Sync bound on spawned tasks in MockExecutorIan Jackson2023-08-231-2/+2
|/ | | | | Sync is actually otiose - and I'm about to have some test cases with futures that aren't Sync.
* Run cargo +nightly fmt to format many let ... else ...Ian Jackson2023-07-241-2/+6
| | | | | | | | | | | rustfmt has grown opinions about how let ... else ... ought to be formatted. They don't always agree with our previous manual decisions. I think our policy is to always insist on rustfmt. When that version of rustfmt hits stable, our CI will start to fail for everyone. (Right now this discrepancy just causes trouble for contributors who are using nightly by default.)
* Run maint/add_warning to actually apply new lint allowsIan Jackson2023-07-101-0/+1
|
* tor-rtmock: task: Fix a typoIan Jackson2023-07-061-1/+1
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1375#note_2919976
* tor-rtmock: task: clarify progress_until_stalled a littleIan Jackson2023-07-061-1/+3
|
* tor-rtmock: task: Remove a () assignmentIan Jackson2023-07-061-1/+1
| | | | | Discussion: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1375#note_2919928
* tor-rtmock: task: Abolish TaskFutureInfo alias (fmt)Ian Jackson2023-07-061-1/+3
|
* tor-rtmock: task: Abolish TaskFutureInfo aliasIan Jackson2023-07-061-7/+6
| | | | | Requested by: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1375#note_2919926
* tor-rtmock: MockExecutor: Configurable scheduling policyIan Jackson2023-07-061-4/+61
|
* tor-rtmock: Unit tests for MockExecutorIan Jackson2023-07-061-0/+106
|
* tor-rtmock: Provide MockExecutorIan Jackson2023-07-061-0/+581