aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-log-ratelim/src/macros.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-log-ratelim: don't log "now working" repeatedlySteven Engler2026-01-201-16/+24
|
* tor-log-ratelim: added field name to tuple structSteven Engler2026-01-201-8/+13
|
* tor-log-ratelim: avoid logging when there's no updateSteven Engler2026-01-201-1/+3
| | | | | | Adds a new `AppearsResolved` status to indicate that there have been successes and no failures. The `Dormant` status now means that there has been no activity.
* Fix warnings and errors from edition 2024.Nick Mathewson2025-08-071-2/+2
| | | | | | | | | | The two main causes of errors were: - Since some of the lifetime rules have changed, we no longer need to do as many "bind a variable and immediately return it" patterns, and so clippy now warns about them. - We needed to adjust the explicit captures (`use<...>`) in a couple of our RPIT instances.
* tor-log-ratelim: Removed dependency on `once_cell`hashcatHitman2025-06-141-2/+2
| | | | | | - Replaced `once_cell::sync::Lazy` with `std::sync::LazyLock`. Signed-off-by: hashcatHitman <[email protected]>
* ratelim: refactor to avoid unreachable codeNick Mathewson2023-11-161-3/+3
| | | | Add a note that this uglifies a hidden API slightly.
* log_ratelim: Make final semicolon optional.Nick Mathewson2023-11-161-4/+6
|
* New tor-log-ratelim crateNick Mathewson2023-11-161-0/+377
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.