<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-memquota/src/mq_queue.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-27T14:49:18Z</updated>
<entry>
<title>Remove NoopWaker; use futures::task::noop_waker_ref instead</title>
<updated>2024-08-27T14:49:18Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-08-21T18:59:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=216722e257eb41327eefcd9d7b46f886279e9c6e'/>
<id>urn:sha1:216722e257eb41327eefcd9d7b46f886279e9c6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'peekable-poll-set' into 'main'</title>
<updated>2024-08-21T19:11:48Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-08-21T19:11:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4f4ac8e808bf88c5fbe806798aaaabe2d1811ff2'/>
<id>urn:sha1:4f4ac8e808bf88c5fbe806798aaaabe2d1811ff2</id>
<content type='text'>
Add and use `PeekableStream` and `UnobtrusivePeekableStream`

See merge request tpo/core/arti!2345</content>
</entry>
<entry>
<title>StreamUnobtrusivePeeker: implement PeekableStream and UnobtrusivePeekableStream</title>
<updated>2024-08-21T18:30:55Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-08-15T00:12:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cf45b13117f6ffbd63f832b029aa61ce9a75415c'/>
<id>urn:sha1:cf45b13117f6ffbd63f832b029aa61ce9a75415c</id>
<content type='text'>
</content>
</entry>
<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: mq_queue: tests: Replace eprintln with debug</title>
<updated>2024-08-15T15:35:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-15T11:27:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d980d04f0e5433be20efd0d2ac5eaf87b804a229'/>
<id>urn:sha1:d980d04f0e5433be20efd0d2ac5eaf87b804a229</id>
<content type='text'>
We use `debug!` (tracing logging) everywhere else.  Use it here too.
</content>
</entry>
<entry>
<title>tor-memquota: mq_queue: tests: fill_and_empty: check balance</title>
<updated>2024-08-15T15:35:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-15T11:14:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9443099689e9846102a32e1c5fcfb1015a2b5535'/>
<id>urn:sha1:9443099689e9846102a32e1c5fcfb1015a2b5535</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-memquota: mq_queue: tests: break out check_zero_claimed and fix bug</title>
<updated>2024-08-15T15:35:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-15T11:14:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=72f183365903b4533b726d4369771de6021bfe97'/>
<id>urn:sha1:72f183365903b4533b726d4369771de6021bfe97</id>
<content type='text'>
Each queue has two `Participation`s, not just one.

This didn't matter in the `lifecycle` test, because one of the two
Participations was never touched since it was cloned, and a fresh
clone starts out with a cache of zero.

But we're about to reuse this code in a context where both
Participations end up with a cache.
</content>
</entry>
<entry>
<title>tor-memquota: mq_queue: impl Default for MpscUnboundedSpec</title>
<updated>2024-08-15T15:35:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-15T11:04:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6f8edb51ee2b77aed1e5f61287742d1afaa4b20d'/>
<id>urn:sha1:6f8edb51ee2b77aed1e5f61287742d1afaa4b20d</id>
<content type='text'>
</content>
</entry>
</feed>
