| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
| |
Code motion of byte_qty.rs, and minimal necessary supporting changes.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
This makes more sense than having them alphabetical.
Noticed while I was working on moving other code.
|
| |\
| |
| |
| |
| | |
Add and use `PeekableStream` and `UnobtrusivePeekableStream`
See merge request tpo/core/arti!2345
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |/
|
|
| |
EnabledToken is pub because it's going to appear in public APIs.
|
| | |
|
| |
|
|
| |
We'll use this in a moment.
|
| |
|
|
|
|
| |
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.
|
| |\
| |
| |
| |
| | |
tor-memquota: HasMemoryCost trait, and type-safe methods
See merge request tpo/core/arti!2282
|
| | | |
|
| | |
| |
| |
| |
| | |
I just want this for a test right now, bui it seems like it would be
good to expose it publicly.
|
| |/ |
|
| |
|
|
| |
This commit is automatically generated.
|
| |
|