summaryrefslogtreecommitdiff
path: root/crates/tor-memquota/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-memquota: Provide StreamUnobtrusivePeekerIan Jackson2024-07-241-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 Jackson2024-07-241-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 wrappersIan Jackson2024-07-241-0/+2
| |
| * tor-memquota: Add get_used_approx accessorIan Jackson2024-07-241-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 commentIan Jackson2024-07-241-1/+1
|/
* Re-run maint/add_warning.Nick Mathewson2024-05-061-2/+2
| | | | This commit is automatically generated.
* Rename tor-memtrack to tor-memquotaIan Jackson2024-04-291-0/+206