<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-memquota/src/if_enabled.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-02-02T15:02:22Z</updated>
<entry>
<title>memquota: Extract HasMemoryCost and derive to new crate.</title>
<updated>2026-02-02T15:02:22Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-01-29T16:16:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d53a4d6791ea1e7a0bc1510fb129928c2746be5b'/>
<id>urn:sha1:d53a4d6791ea1e7a0bc1510fb129928c2746be5b</id>
<content type='text'>
This will help resolve some dependencies in our graph.
</content>
</entry>
<entry>
<title>tor-memquota: Make EnabledToken constructors const</title>
<updated>2024-10-02T18:11:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-23T11:38:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d59585ed603f5d97dcca6bf029cfa821fc28c460'/>
<id>urn:sha1:d59585ed603f5d97dcca6bf029cfa821fc28c460</id>
<content type='text'>
This will be convenient in some tests etc.
</content>
</entry>
<entry>
<title>tor-memquota: impl PartialEq for IfEnabled and EnabledToken</title>
<updated>2024-09-04T10:47:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-27T14:53:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4f498946aa0f96532f822c9818a19356f3761bfe'/>
<id>urn:sha1:4f498946aa0f96532f822c9818a19356f3761bfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-memquota: IfEnabled: Complete a thought in a comment</title>
<updated>2024-08-21T11:26:11Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-21T11:26:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bcca0fdc221b9b11e480f19008ea65dd7fc998e8'/>
<id>urn:sha1:bcca0fdc221b9b11e480f19008ea65dd7fc998e8</id>
<content type='text'>
Reported at
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2351#note_3062292
</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: Introduce IfEnabled and EnabledToken</title>
<updated>2024-08-19T14:38:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-19T10:54:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6cc04f8e8a6798353ce4aa7a9ca3be8b7d47b323'/>
<id>urn:sha1:6cc04f8e8a6798353ce4aa7a9ca3be8b7d47b323</id>
<content type='text'>
EnabledToken is pub because it's going to appear in public APIs.
</content>
</entry>
</feed>
