summaryrefslogtreecommitdiff
path: root/crates/tor-rtcompat/src/timer.rs
Commit message (Collapse)AuthorAgeFilesLines
* maint: Run maint/add_warning to deny string slicesClara Engler2026-06-091-0/+1
| | | | | | | | | | | | This commit executes maint/add_warning with the just added change to deny string slices except in tests. I recommend auditing this by checking out the previous commit followed by running the script yourself and then verifying that the diff is identical to this commit. This commit makes cargo clippy fail. We will add exceptions in the next commit.
* rtcompat, rtmock: Port to web-time-compat.Nick Mathewson2026-03-261-2/+3
|
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
| | | | Run maint/add_warning
* tor-memquota: mq_queue: Take Account by referenceIan Jackson2024-09-261-1/+3
| | | | | | It doesn't need an owned value here. (clippy's note about this was defeated by this being a trait method.)
* CI: run miri, currently on tor-rtcompatIan Jackson2024-09-261-0/+1
| | | | | | I'm about to add some unsafe which I want tested in CI. We must disable two tests.
* Fix new "clippy::needless-maybe-sized" warning on nightlyNick Mathewson2024-07-281-2/+2
| | | | | This warning complains when we say `where T: SomeTrait + ?Sized` when `SomeTrait` is inherently Sized.
* Run maint/add_warning.Nick Mathewson2024-03-131-0/+1
|
* Run maint/add_warning to add lint block everywhereIan Jackson2023-08-231-0/+1
|
* Run maint/add_warning to actually apply new lint allowsIan Jackson2023-07-101-0/+1
|
* Allow clippy::unchecked_duration_subtraction in testsNick Mathewson2023-01-271-0/+1
| | | | | This panics on error, and we're fine with a panic on misbehavior in tests.
* test lint blocks: Do some semi-manuallyIan Jackson2022-12-121-0/+9
| | | | | | | This is the hunks from running the rune in maint/adhoc-add-lint-blocks but which require some subsequent manual fixup: usually, deleting now-superfluous outer allows, but in some cases manually putting back lints that the adhoc script deleted.
* TaskSchedule: Add a sleep_until_wallclock method too.Nick Mathewson2022-06-101-1/+1
|
* Remove allow(clippy::disallowed_methods) lint.Nick Mathewson2022-03-301-1/+0
|
* use wallclock where possible in teststrinity-1686a2022-02-261-0/+1
|
* fix/silence clippy lints in test modulesDaniel Eades2021-09-081-0/+1
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+216
This will cause some pain for now, but now is really the best time to do this kind of thing.