summaryrefslogtreecommitdiff
path: root/crates/tor-log-ratelim/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* clippy: deny `mod_module_files`Steven Engler2025-01-061-0/+1
| | | | | | Denies 'mod.rs' files for consistency. https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files
* add_warnings, *: Allow clippy::needless_lifetimesNick Mathewson2024-12-031-0/+1
| | | | | | | | In 1.83, this warning triggers on many of our crates. We're thinking of fixing them all, but for now, we're going to disable the warning. This is part of #1765.
* Re-run maint/add_warning.Nick Mathewson2024-05-061-2/+2
| | | | This commit is automatically generated.
* Fix typos in doc commentsTobias Stoeckmann2024-03-061-1/+1
|
* deny clippy::unchecked_duration_subtractiontrinity-1686a2024-02-291-0/+1
|
* ratelim: Note that timeouts are in minutes.Nick Mathewson2023-11-161-4/+1
|
* ratelim: refactor to avoid unreachable codeNick Mathewson2023-11-161-1/+4
| | | | Add a note that this uglifies a hidden API slightly.
* ratelim: rename limiter.rs to ratelim.rsNick Mathewson2023-11-161-5/+5
|
* log_ratelim: Use a real error type for install_runtime()Nick Mathewson2023-11-161-1/+1
|
* New tor-log-ratelim crateNick Mathewson2023-11-161-0/+118
This crate is meant to provide rate-limited log messages to tell users about problems that can happen too frequently to log individually. This version is based off an earlier design, and off of conversations with @diziet. It still needs tests.