| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'mod-module-files' into 'main' | Nick Mathewson | 2025-01-07 | 1 | -0/+1 |
| |\ | | | | | | | | | clippy: deny `mod_module_files` See merge request tpo/core/arti!2689 | ||||
| | * | clippy: deny `mod_module_files` | Steven Engler | 2025-01-06 | 1 | -0/+1 |
| | | | | | | | | | | | | | Denies 'mod.rs' files for consistency. https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files | ||||
| * | | fix: fix typos | Dimitris Apostolou | 2025-01-06 | 1 | -1/+1 |
| |/ | |||||
| * | add_warnings, *: Allow clippy::needless_lifetimes | Nick Mathewson | 2024-12-03 | 1 | -0/+1 |
| | | | | | | | | | In 1.83, this warning triggers on many of our crates. We're thinking of fixing them all, but for now, we're going to disable the warning. This is part of #1765. | ||||
| * | memquota: Change ToplevelAccount to be an alias for Arc<MemoryQuotaTracker> | Ian Jackson | 2024-10-15 | 1 | -0/+1 |
| | | | | | Fixes a TODO. | ||||
| * | memquota: Further docs tweaks | Ian Jackson | 2024-10-09 | 1 | -2/+3 |
| | | |||||
| * | mq docs: Add some cross-references from tor-memquota to tor-proto | Ian Jackson | 2024-10-07 | 1 | -0/+3 |
| | | | | | These can't be rustdoc links because they point up the crate hierarchy. | ||||
| * | mq docs: Add a link | Ian Jackson | 2024-10-07 | 1 | -1/+1 |
| | | |||||
| * | mq docs: Uncomment docs about mq_queue, and remove the TODO | Ian Jackson | 2024-10-07 | 1 | -4/+4 |
| | | |||||
| * | Merge branch 'mcost' into 'main' | Ian Jackson | 2024-10-02 | 1 | -1/+7 |
| |\ | | | | | | | | | Implement tor_memquota:HasMemory cost for a lot of types See merge request tpo/core/arti!2459 | ||||
| | * | tor-memquota: Replace MemoryCostStructuralCopy with assert_copy_static (fmt) | Ian Jackson | 2024-10-02 | 1 | -1/+1 |
| | | | |||||
| | * | tor-memquota: Replace MemoryCostStructuralCopy with assert_copy_static | Ian Jackson | 2024-10-02 | 1 | -1/+1 |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2459#note_3086841 | ||||
| | * | tor-memquota: Export Account at the toplevel | Ian Jackson | 2024-10-02 | 1 | -1/+1 |
| | | | | | | | | | | | It turns out we're mostly going to want to deal in Accounts, not Arc<MemoryQuotaaTracker>s. | ||||
| | * | tor-memquota: Provide facilities for deriving HasMemoryCost | Ian Jackson | 2024-10-02 | 1 | -0/+6 |
| | | | |||||
| * | | memquota: Note a TODO about overheads | Ian Jackson | 2024-10-02 | 1 | -0/+5 |
| |/ | |||||
| * | tor-memquota: queue plan: Add a cross-reference | Ian Jackson | 2024-09-10 | 1 | -0/+3 |
| | | |||||
| * | tor-memquota: Worsify formatting to stop rustfmt making it even worse | Ian Jackson | 2024-09-10 | 1 | -1/+3 |
| | | |||||
| * | tor-memquota: Use clippy::arithmetic_side_effects, against panics | Ian Jackson | 2024-09-10 | 1 | -0/+9 |
| | | | | | | | This detect possibly-panicking operations. Empirically this lint seems rather better now. | ||||
| * | tor-memquota: Document that we're panic-free | Ian Jackson | 2024-09-10 | 1 | -0/+10 |
| | | |||||
| * | tor-memquota: Move some information into the proper docs | Ian Jackson | 2024-09-10 | 1 | -0/+8 |
| | | | | | | This sentence is very important piece of overall explanation, but didn't make it into the crate level docs. | ||||
| * | tor-memquota: Unstable cargo feature for exposing info for testing | Ian Jackson | 2024-09-04 | 1 | -0/+7 |
| | | |||||
| * | Fix typos | Dimitris Apostolou | 2024-09-03 | 1 | -1/+1 |
| | | |||||
| * | Move stream_peek into tor-async-utils | Jim Newsome | 2024-08-29 | 1 | -2/+0 |
| | | |||||
| * | byte_qty: Move to tor-basic-utils | Ian Jackson | 2024-08-27 | 1 | -1/+0 |
| | | | | | Code motion of byte_qty.rs, and minimal necessary supporting changes. | ||||
| * | byte_qty: Move Qty into its own module, byte_qty. | Ian Jackson | 2024-08-27 | 1 | -0/+1 |
| | | | | | | | | Code motion, part 1. Also explain in comments at the top of the new module why we are doing this at all rather than using an existing thing. | ||||
| * | tor-memquota: Move the macro-containing modules earlier in the lib.rs | Ian Jackson | 2024-08-27 | 1 | -2/+3 |
| | | | | | | | This makes more sense than having them alphabetical. Noticed while I was working on moving other code. | ||||
| * | Merge branch 'peekable-poll-set' into 'main' | Jim Newsome | 2024-08-21 | 1 | -1/+2 |
| |\ | | | | | | | | | Add and use `PeekableStream` and `UnobtrusivePeekableStream` See merge request tpo/core/arti!2345 | ||||
| | * | Expose stream_peek | Jim Newsome | 2024-08-21 | 1 | -1/+2 |
| | | | |||||
| * | | tor-memquota: Pass EnabledToken to IsParticipant methods | Ian Jackson | 2024-08-19 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | This will hopefully allow much caller code to be compiled out. The users (IsParticipant impls) don't generally need to bother with it - they can just ignore it. | ||||
| * | | tor-memquota: Put EnabledToken in various structs, including the reclaimer | Ian Jackson | 2024-08-19 | 1 | -1/+0 |
| | | | |||||
| * | | tor-memquota: Allow memory tracking to be compiled out | Ian Jackson | 2024-08-19 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | Now if we run doctests without the feature enabled, we test that a no-op MemoryQuotaTracker works. Those tests aren't currently run in CI, but they will be after !2350. | ||||
| * | | tor-memquota: Support a no-op MemoryQuotaTracker | Ian Jackson | 2024-08-19 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | Wrap up most of the structures in IfEnabled. Sadly this diff is very noisy. I experimented with macros for the little enabled check at the start of each function but they didn't really help. We don't test this yet. We'll do a smoke test of this later. | ||||
| * | | tor-memquota: Introduce IfEnabled and EnabledToken | Ian Jackson | 2024-08-19 | 1 | -0/+3 |
| |/ | | | | EnabledToken is pub because it's going to appear in public APIs. | ||||
| * | tor-memquota: Add mq_queue, memory-quota-tracking (MPSC) queue | Ian Jackson | 2024-08-15 | 1 | -0/+1 |
| | | |||||
| * | tor-memquota: Add a Sealed trait | Ian Jackson | 2024-08-15 | 1 | -0/+6 |
| | | | | | We'll use this in a moment. | ||||
| * | tor-memquota: Provide StreamUnobtrusivePeeker | Ian Jackson | 2024-07-24 | 1 | -0/+1 |
| | | | | | | | I'm not particularly pleased with this name. We need names for both the type, and the trait we'll almost certainly want to introduce in the future. | ||||
| * | Merge branch 'memquota-typed' into 'main' | Ian Jackson | 2024-07-24 | 1 | -1/+7 |
| |\ | | | | | | | | | tor-memquota: HasMemoryCost trait, and type-safe methods See merge request tpo/core/arti!2282 | ||||
| | * | tor-memquota: memory_cost: New trait and typed wrappers | Ian Jackson | 2024-07-24 | 1 | -0/+2 |
| | | | |||||
| | * | tor-memquota: Add get_used_approx accessor | Ian Jackson | 2024-07-24 | 1 | -1/+5 |
| | | | | | | | | | | | I just want this for a test right now, bui it seems like it would be good to expose it publicly. | ||||
| * | | tor-memquota: Tidy up a minor formatting glitch in a doc comment | Ian Jackson | 2024-07-24 | 1 | -1/+1 |
| |/ | |||||
| * | Re-run maint/add_warning. | Nick Mathewson | 2024-05-06 | 1 | -2/+2 |
| | | | | | This commit is automatically generated. | ||||
| * | Rename tor-memtrack to tor-memquota | Ian Jackson | 2024-04-29 | 1 | -0/+206 |
