<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-memquota/src/mq_queue.rs, branch arti-v1.2.8</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.8</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.8'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-09-10T12:09:38Z</updated>
<entry>
<title>tor-memquota: queue plan: Clean up intent and make into a doc comment</title>
<updated>2024-09-10T12:09:38Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-10T11:58:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d30c871df282d0f469ddda665e295afa07a054b6'/>
<id>urn:sha1:d30c871df282d0f469ddda665e295afa07a054b6</id>
<content type='text'>
Remove extraneous text, wrap it, and change to a more declarative style.
</content>
</entry>
<entry>
<title>tor-memquota: queue plan: Copy from !1997 discussion</title>
<updated>2024-09-10T12:09:38Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-10T11:52:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=caade628fc27a624eccfe6cf90ea6656c99dc5b2'/>
<id>urn:sha1:caade628fc27a624eccfe6cf90ea6656c99dc5b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-memquota: Use clippy::arithmetic_side_effects, against panics</title>
<updated>2024-09-10T12:06:35Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-10T11:43:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d2e4f58f2a57c04b4a821b3850b31cc3e00c4a46'/>
<id>urn:sha1:d2e4f58f2a57c04b4a821b3850b31cc3e00c4a46</id>
<content type='text'>
This detect possibly-panicking operations.

Empirically this lint seems rather better now.
</content>
</entry>
<entry>
<title>tor-memquota: Rework optionality configuration</title>
<updated>2024-09-04T10:47:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-27T13:19:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=12f233e9c0f301a247edb44df67f1c60027d765e'/>
<id>urn:sha1:12f233e9c0f301a247edb44df67f1c60027d765e</id>
<content type='text'>
Allow a `Config` to represent "this is supposed to be disabled".

This involves wrapping the actual built configuration in an IfEnabled.

We treat max = usize::MAX, or max being unspecified, as "disable".

We can now reporting an error during config building if max is set but
we're compiling the feature out.  Conversely, we can now make
`MemoryQuotaTracker::new()` unconditional, since enabled
confiogurations are uninhabited when the feature is compiled out.

We change how we derive the setters, deriving them from the Builder.

I chose to abolish the use of derive_builder.  See the new comment on
ConfigBuilder.
</content>
</entry>
<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>
</feed>
