summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'misc-nightly-warnings' into 'main'Alexander Færøy2024-04-2311-19/+21
|\ | | | | | | | | | | | | Clean up various nightly clippy warnings Closes #1379 See merge request tpo/core/arti!2097
| * Use clone_from in CircMgr config updater.Nick Mathewson2024-04-221-1/+3
| | | | | | | | | | Clippy prefers this idiom as potentially more efficient. It's not critical-path, but let's let clippy have its way.
| * Fix recursive impl for arti_client::Error.Nick Mathewson2024-04-221-1/+1
| | | | | | | | This is an actual bug. Closes #1379.
| * dirmgr: Use contains_key in check.Nick Mathewson2024-04-221-1/+1
| |
| * Use uXX::MAX in place of std::uXX::MAXNick Mathewson2024-04-228-14/+14
| | | | | | | | | | | | The old code produced a warning from clippy nightly; we may as well update to use the new associated consts. (They've been there since Rust 1.4x.)
| * proto: Simplify a check-and-convert to use try_into+expectNick Mathewson2024-04-221-2/+2
| |
* | tor-memtrack: Explain lack of thread parallelism in notify_victimsIan Jackson2024-04-231-0/+6
| |
* | tor-error: Fix message for LocalResourceExhaustedIan Jackson2024-04-231-1/+1
| |
* | RustfmtIan Jackson2024-04-231-2/+2
| |
* | tor-memtrack: Explain the code structure in reclaim::inner_loopIan Jackson2024-04-231-0/+4
| |
* | tor-memtrack: Break out aid_and_children_recursivelyIan Jackson2024-04-232-14/+24
| | | | | | | | | | As per paras 2- of https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021478
* | tor-memtrack: Remove an unused mutIan Jackson2024-04-231-1/+1
| | | | | | | | | | As per para 1 of https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021478
* | tor-memtrack: Correct doc comment for `reclaim::inner_loop`Ian Jackson2024-04-231-1/+5
| | | | | | | | | | Addresses https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021475
* | tor-memtrack: Explain the relationship to `mtracker` betterIan Jackson2024-04-231-1/+4
| | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021473
* | tor-memtrack: Clarify what "stuff of ours" might be droppedIan Jackson2024-04-231-1/+2
| | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021471
* | tor-memtrack: Add xref to help explain drop_reentrancyIan Jackson2024-04-231-0/+2
| | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021467 https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021470
* | tor-memtrack: Explain drop impl for GuardWithDeferredDrop in prodIan Jackson2024-04-231-0/+8
| |
* | tor-memtrack: Correct "reentrant" terminologyIan Jackson2024-04-231-1/+1
| |
* | tor-memtrack: Explain why drop_reentrancy no-op ok outside testsIan Jackson2024-04-231-0/+15
| |
* | tor-memtrack: Avoid accidental poisoning during claimIan Jackson2024-04-231-0/+7
| |
* | tor-memtrack: Explain what poisoned total state is forIan Jackson2024-04-231-0/+2
| | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021460
* | tor-memtrack: Clarify error message about ratioIan Jackson2024-04-231-1/+1
| | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021444
* | tor-memtrack: Clarify behavioural commentIan Jackson2024-04-231-1/+1
| | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021436
* | tor-memtrack: Set Cargo categoriesIan Jackson2024-04-231-2/+1
| | | | | | | | | | Adopting suggestion from https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021435
* | tor-memtrack: Docs fixesgabi-2502024-04-232-2/+2
| |
* | tor-memtrack: Add a let binding to clarifygabi-2502024-04-231-1/+1
| |
* | tor-memtrack: Fix docs typogabi-2502024-04-231-1/+1
| |
* | tor-memtrack: say how to get an `Account`gabi-2502024-04-231-0/+2
| |
* | tor-memtrack: Say how to get a `Participation`gabi-2502024-04-231-0/+3
| |
* | tor-memtrack: Fix docs typosgabi-2502024-04-232-2/+2
| |
* | tor-memtrack: Doc fixesgabi-2502024-04-232-5/+5
| |
* | tor-memtrack: Docs fixes/improvementsgabi-2502024-04-232-2/+2
| |
* | tor-memtrack: Fix various typosgabi-2502024-04-233-3/+3
| |
* | tor-memtrack: Clarify a doc commentgabi-2502024-04-231-1/+1
| |
* | tor-memtrack: Doc comment: Fix erroneous module referencegabi-2502024-04-231-1/+1
| |
* | tor-memtrack: Fix doc comment (and change capitalisation)gabi-2502024-04-231-1/+1
| |
* | tor-memtrack: Fix doc comment grammargabi-2502024-04-231-1/+1
| |
* | tor-memtrack: Clarify a doc commentgabi-2502024-04-231-2/+2
| |
* | tor-memtrack: Add a doctest example for mtrackerIan Jackson2024-04-231-0/+56
| |
* | tor-memtrack: Provide an error for callers to useIan Jackson2024-04-233-1/+52
| |
* | tor-memtrack: Comment out some false docs, with some TODOsIan Jackson2024-04-231-6/+8
| |
* | tor-memtrack: Remove dead code allowsIan Jackson2024-04-231-2/+0
| |
* | tor-memtrack: Provide comprehensive tests for the memory trackerIan Jackson2024-04-233-1/+681
| |
* | tor-memtrack: reclaim: Implement reclamationIan Jackson2024-04-231-1/+378
| |
* | tor-memtrack: reclaim: Provide helper deferred_drop moduleIan Jackson2024-04-232-0/+77
| |
* | tor-memtrack: implement MemoryQuotaTrackerIan Jackson2024-04-234-2/+1027
| | | | | | | | | | | | Includes the principal data structures and their impls. Reclamation will come in a moment.
* | tor-memtrack: Provide helper bookkeeping moduleIan Jackson2024-04-232-0/+285
| |
* | tor-memtrack: Provide helper drop_reentrancy moduleIan Jackson2024-04-233-0/+150
| |
* | tor-memtrack: Provide helper refcounting moduleIan Jackson2024-04-233-0/+254
| |
* | tor-memtrack: Provide Error types for use by our implsIan Jackson2024-04-234-3/+104
| |