<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-memquota/src/memory_cost.rs, branch arti-v1.2.7</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.7</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.7'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-08-19T17:10:29Z</updated>
<entry>
<title>tor-memquota: Pass EnabledToken to HasMemoryCost method</title>
<updated>2024-08-19T17:10:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-19T13:55:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc61d39c1c6056cec20e8eab7d1050116a8a98a9'/>
<id>urn:sha1:bc61d39c1c6056cec20e8eab7d1050116a8a98a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-memquota: Pass EnabledToken to IsParticipant methods</title>
<updated>2024-08-19T17:10:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-19T13:34:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4c98ef1468f2ead3876a8f886d3a5a33c550a492'/>
<id>urn:sha1:4c98ef1468f2ead3876a8f886d3a5a33c550a492</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>tor-memquota: Allow memory tracking to be compiled out</title>
<updated>2024-08-19T17:10:04Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-19T13:43:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d04d130f0155eae98bc6e9d532f09ae3bfd308c4'/>
<id>urn:sha1:d04d130f0155eae98bc6e9d532f09ae3bfd308c4</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>tor-memquota: Rename mby test helper fn to mbytes</title>
<updated>2024-08-15T15:35:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-14T16:46:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2cc55eaa123b160785532c73260c3e690c26b3d3'/>
<id>urn:sha1:2cc55eaa123b160785532c73260c3e690c26b3d3</id>
<content type='text'>
As per
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2292#note_3059520
</content>
</entry>
<entry>
<title>tor-memquota: memory_cost: Introduce try_claim (tests)</title>
<updated>2024-07-24T08:39:21Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-07-22T15:21:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d875f6cd018fa1c86d3e742e2f5fd8b9d0b7410d'/>
<id>urn:sha1:d875f6cd018fa1c86d3e742e2f5fd8b9d0b7410d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-memquota: memory_cost: Introduce try_claim</title>
<updated>2024-07-24T08:39:21Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-06-24T16:28:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bb7ab91cfdddd143e825a8fb3662aa8320f2773a'/>
<id>urn:sha1:bb7ab91cfdddd143e825a8fb3662aa8320f2773a</id>
<content type='text'>
Our stream wrapper is going to want this.  It's fiddly enough that
doing it as a standalone facility seems sensible.
</content>
</entry>
<entry>
<title>tor-memquota: memory_cost: New trait and typed wrappers (tests)</title>
<updated>2024-07-24T08:39:21Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-06-24T11:54:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b2ea3dd346f9ca7e7683265f5ee29036764ef183'/>
<id>urn:sha1:b2ea3dd346f9ca7e7683265f5ee29036764ef183</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-memquota: memory_cost: New trait and typed wrappers</title>
<updated>2024-07-24T08:39:21Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-06-24T11:13:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=de249550e9fdb1ba1c145c7a84221997ec729ff6'/>
<id>urn:sha1:de249550e9fdb1ba1c145c7a84221997ec729ff6</id>
<content type='text'>
</content>
</entry>
</feed>
