summaryrefslogtreecommitdiff
path: root/crates/tor-memquota/src
Commit message (Expand)AuthorAgeFilesLines
* 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
* tor-memquota: mq_queue: Rename Mpsc to MpscSpecIan Jackson2024-08-151-12/+12
* tor-memquota: mq_queue: Add a caveat about faithfulness/accuracyIan Jackson2024-08-151-0/+14
* tor-memquota: Rename mby test helper fn to mbytesIan Jackson2024-08-153-18/+18
* tor-memquota: mq_queue: Call mpsc::Receiver::close in our rx DropIan Jackson2024-08-151-0/+27
* tor-memquota: StreamUnobtrusivePeeker: provide as_raw_inner_pin_mutIan Jackson2024-08-151-0/+11
* tor-memquota: mq_queue: Add fill_and_empty testIan Jackson2024-08-151-0/+23
* tor-memquota: Add blank lines before fns except in testsIan Jackson2024-08-151-0/+6
* tor-memquota: Fix typosIan Jackson2024-08-152-5/+5
* tor-memquota: Add mq_queue, memory-quota-tracking (MPSC) queue (tests)Ian Jackson2024-08-151-0/+179
* tor-memquota: Add mq_queue, memory-quota-tracking (MPSC) queueIan Jackson2024-08-155-5/+507
* tor-memquota: Add a Sealed traitIan Jackson2024-08-152-0/+7
* tor-memquota: Provide Participation::new_dangling and WeakAccount::new_danglingIan Jackson2024-08-151-0/+26
* tor-memquota: discuss StreamUnobtrusivePeeker nameIan Jackson2024-07-241-7/+8
* tor-memquota: Elide a lifetimeIan Jackson2024-07-241-1/+1
* tor-memquota: Fix a wrong commentIan Jackson2024-07-241-3/+1
* tor-memquota: Provide StreamUnobtrusivePeeker (tests)Ian Jackson2024-07-241-0/+163
* tor-memquota: Provide StreamUnobtrusivePeekerIan Jackson2024-07-244-2/+376
* Merge branch 'memquota-typed' into 'main'Ian Jackson2024-07-246-38/+469
|\
| * tor-memquota: Test Debug, Display and HasKind impls for errorsIan Jackson2024-07-241-0/+72
| * tor-memquota: impl HasKind for StartupError and ReclaimCrashedIan Jackson2024-07-241-0/+19
| * tor-memquota: impl HasKind for ReclaimedErrorInnerIan Jackson2024-07-241-1/+7