summaryrefslogtreecommitdiff
path: root/crates/tor-memquota/src
Commit message (Expand)AuthorAgeFilesLines
* squash! Upgrade rand dependency to 0.9.Nick Mathewson2025-03-181-1/+1
* Upgrade to derive_more 2Nick Mathewson2025-02-261-2/+2
* Merge branch 'mod-module-files' into 'main'Nick Mathewson2025-01-071-0/+1
|\
| * clippy: deny `mod_module_files`Steven Engler2025-01-061-0/+1
* | fix: fix typosDimitris Apostolou2025-01-061-1/+1
|/
* add_warnings, *: Allow clippy::needless_lifetimesNick Mathewson2024-12-031-0/+1
* Merge branch 'mq-fix' into 'main'Ian Jackson2024-10-224-4/+28
|\
| * tor-memquota: Fix rustfmt-damaged indentationIan Jackson2024-10-221-5/+5
| * memquota: Fix error message stringsIan Jackson2024-10-211-2/+2
| * memquota: In debug builds, reliably detect use of dropped AccountIan Jackson2024-10-211-0/+13
| * memquota: Fix a test not to rely on accessing cache with dead AccountIan Jackson2024-10-211-1/+1
| * memquota: Log a trace message when a claim failsIan Jackson2024-10-212-1/+9
| * memquota: Log a message at info on startup, if enabledIan Jackson2024-10-211-0/+3
* | Merge branch 'bug1531' into 'main'Ian Jackson2024-10-215-16/+16
|\ \ | |/ |/|
| * Convert a few crates to slotmap-carefulNeel Chauhan2024-10-175-16/+16
* | memquota: suppress clippy::single_match warning.Nick Mathewson2024-10-171-0/+1
|/
* Merge branch 'mq-prevent' into 'main'Ian Jackson2024-10-153-2/+4
|\
| * Introduce mpsc_channel_no_memquota and use it in the places it's wanted (fmt)Ian Jackson2024-10-151-1/+2
| * Introduce mpsc_channel_no_memquota and use it in the places it's wantedIan Jackson2024-10-153-2/+3
* | memquota: Change ToplevelAccount to be an alias for Arc<MemoryQuotaTracker>Ian Jackson2024-10-152-1/+2
* | memquota: Provide a method Arc::<MemoryQuotaTracker>::new_noop()Ian Jackson2024-10-151-1/+15
|/
* Merge branch 'mq-doc' into 'main'Ian Jackson2024-10-093-28/+13
|\
| * memquota: Further docs tweaksIan Jackson2024-10-091-2/+3
| * mq docs: Add some cross-references from tor-memquota to tor-protoIan Jackson2024-10-072-0/+8
| * mq docs: Add a linkIan Jackson2024-10-071-1/+1
| * mq docs: Move arti queues text to tor_proto::memquotaIan Jackson2024-10-071-24/+0
| * mq docs: Uncomment docs about mq_queue, and remove the TODOIan Jackson2024-10-071-4/+4
* | tor-memquota: miri: disable tests that use coarsetimeIan Jackson2024-10-083-3/+9
|/
* Merge branch 'mcost' into 'main'Ian Jackson2024-10-024-4/+372
|\
| * tor-memquota: Fix more hard tabs.Ian Jackson2024-10-021-2/+2
| * tor-memquota: Replace MemoryCostStructuralCopy with assert_copy_static (fmt)Ian Jackson2024-10-021-1/+1
| * tor-memquota: Replace MemoryCostStructuralCopy with assert_copy_staticIan Jackson2024-10-022-23/+13
| * tor-memquota: Move and reword a commentIan Jackson2024-10-021-3/+5
| * tor-memquota: Add an example for HasMemoryCost deriveIan Jackson2024-10-021-0/+39
| * Abolish SIZE in favour of std::mem::size_ofIan Jackson2024-10-022-22/+10
| * tor-memquota: Provide explicit "indirect size" feature in deriveIan Jackson2024-10-021-0/+6
| * Use std::num::NonZeroFooIan Jackson2024-10-021-4/+5
| * tor-memquota: Export Account at the toplevelIan Jackson2024-10-021-1/+1
| * tor-memquota: Provide facilities for deriving HasMemoryCostIan Jackson2024-10-023-0/+342
| * tor-memquota: Make EnabledToken constructors constIan Jackson2024-10-021-2/+2
* | Merge branch 'misc' into 'main'Ian Jackson2024-10-021-0/+5
|\ \ | |/ |/|
| * memquota: Note a TODO about overheadsIan Jackson2024-10-021-0/+5
* | Merge branch 'close-channel-2' into 'main'Nick Mathewson2024-10-021-1/+12
|\ \
| * | tor-memquota: Implement SinkChannelClose for mq_queueIan Jackson2024-10-011-1/+12
| |/
* | tor-memquota: Test error handling paths in try_send implIan Jackson2024-10-021-0/+54
* | tor-memquota: Prepare for SinkTrySend testsIan Jackson2024-10-021-3/+24
* | tor-memquota: Make BustedSink contain the BustedError to yield (fmt)Ian Jackson2024-10-021-1/+3
* | tor-memquota: Make BustedSink contain the BustedError to yieldIan Jackson2024-10-021-8/+14
|/
* tor-memquota: Implement SinkTrySend for mq_queue::SenderIan Jackson2024-10-012-1/+32
* tor-memquota: Provide TypedParticipation::try_claim_or_returnIan Jackson2024-10-011-1/+24