summaryrefslogtreecommitdiff
path: root/crates/tor-memquota/src
Commit message (Expand)AuthorAgeFilesLines
* Upgrade to derive_more version 1.0.0Nick Mathewson2024-09-254-6/+5
* tor-memquota: queue plan: Add a cross-referenceIan Jackson2024-09-101-0/+3
* tor-memquota: queue plan: Clean up intent and make into a doc commentIan Jackson2024-09-101-32/+24
* tor-memquota: queue plan: Copy from !1997 discussionIan Jackson2024-09-101-0/+32
* tor-memquota: Worsify formatting to stop rustfmt making it even worseIan Jackson2024-09-101-1/+3
* tor-memquota: Use clippy::arithmetic_side_effects, against panicsIan Jackson2024-09-104-0/+12
* tor-memquota: Document that we're panic-freeIan Jackson2024-09-101-0/+10
* tor-memquota: Avoid a perhaps-impossible division-by-zero (fmt)Ian Jackson2024-09-101-1/+5
* tor-memquota: Avoid a perhaps-impossible division-by-zeroIan Jackson2024-09-101-1/+3
* tor-memquota: Use a const to hoist a panic to compile-timeIan Jackson2024-09-101-1/+3
* tor-memquota: Use checked_sub .. expect in two places (fmt)Ian Jackson2024-09-101-2/+6
* tor-memquota: Use checked_sub .. expect in two placesIan Jackson2024-09-101-2/+6
* tor-memquota: Move some information into the proper docsIan Jackson2024-09-101-0/+8
* Fix typo in tor_memquota::ConfigBuilder docIan Jackson2024-09-041-1/+1
* tor-memquota: Provide reconfigure methodIan Jackson2024-09-042-1/+56
* tor-memquota: Break out reclamation wakeupIan Jackson2024-09-041-1/+6
* tor-memquota: Make reclamation wakeup no longer throw internal errorsIan Jackson2024-09-042-5/+6
* tor-memquota: Unstable cargo feature for exposing info for testingIan Jackson2024-09-042-2/+23
* tor-memquota: Rework optionality configurationIan Jackson2024-09-045-30/+86
* tor-memquota: impl PartialEq for IfEnabled and EnabledTokenIan Jackson2024-09-041-2/+4
* tor-memquota: Add unit tests for config handlingIan Jackson2024-09-041-0/+56
* Fix typosDimitris Apostolou2024-09-036-15/+15
* Move stream_peek into tor-async-utilsJim Newsome2024-08-293-514/+3
* Expose StreamUnobtrusivePeeker::as_raw_inner_pin_mutJim Newsome2024-08-271-1/+1
* Remove NoopWaker; use futures::task::noop_waker_ref insteadJim Newsome2024-08-274-21/+5
* byte_qty: Move to tor-basic-utilsIan Jackson2024-08-275-74/+5
* byte_qty: Rename Qty to ByteQty and make it pubIan Jackson2024-08-272-8/+12
* byte_qty: Move Qty into its own module, byte_qty.Ian Jackson2024-08-274-57/+68
* tor-memquota: Move the macro-containing modules earlier in the lib.rsIan Jackson2024-08-271-2/+3
* Merge branch 'peekable-poll-set' into 'main'Jim Newsome2024-08-213-51/+37
|\
| * Expose stream_peekJim Newsome2024-08-212-6/+18
| * PeekFuture: implement for all PeekableStreamJim Newsome2024-08-211-5/+6
| * StreamUnobtrusivePeeker: implement PeekableStream and UnobtrusivePeekableStreamJim Newsome2024-08-212-41/+14
* | tor-memquota: IfEnabled: Complete a thought in a commentIan Jackson2024-08-211-1/+3
* | tor-memquota: Pass EnabledToken to HasMemoryCost methodIan Jackson2024-08-192-17/+29
* | tor-memquota: Pass EnabledToken to IsParticipant methodsIan Jackson2024-08-196-19/+22
* | tor-memquota: Put EnabledToken in various structs, including the reclaimerIan Jackson2024-08-193-4/+26
* | tor-memquota: Allow memory tracking to be compiled outIan Jackson2024-08-195-6/+43
* | tor-memquota: Support a no-op MemoryQuotaTrackerIan Jackson2024-08-194-51/+168
* | tor-memquota: Introduce self_ variables in mtracker.rs (fmt)Ian Jackson2024-08-191-1/+4
* | tor-memquota: Introduce self_ variables in mtracker.rsIan Jackson2024-08-191-48/+69
* | tor-memquota: Introduce IfEnabled and EnabledTokenIan Jackson2024-08-193-0/+84
* | tor-memquota: find_in_tracker: Allow internal use of non-unit errorsIan Jackson2024-08-191-6/+6
* | tor-memquota: pre-apply rustfmt churnIan Jackson2024-08-192-4/+14
|/
* tor-memquota: mq_queue: tests: Replace eprintln with debugIan Jackson2024-08-151-1/+1
* tor-memquota: mq_queue: tests: fill_and_empty: check balanceIan Jackson2024-08-151-0/+3
* tor-memquota: mq_queue: tests: break out check_zero_claimed and fix bugIan Jackson2024-08-151-1/+17
* tor-memquota: mq_queue: impl Default for MpscUnboundedSpecIan Jackson2024-08-151-1/+1
* tor-memquota: mq_queue: Provide `new` constructors for SpecsIan Jackson2024-08-152-3/+8
* tor-memquota: mq_queue: Fix doc for `MpscSpec`Ian Jackson2024-08-151-2/+2