<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-memquota/src/internal_prelude.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-25T14:37:18Z</updated>
<entry>
<title>Upgrade to derive_more version 1.0.0</title>
<updated>2024-09-25T14:37:18Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-25T14:37:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6a12c2ba8515226a772d5f4a81930bf42d67535a'/>
<id>urn:sha1:6a12c2ba8515226a772d5f4a81930bf42d67535a</id>
<content type='text'>
The `derive_more` crate broke backward compatibility with this version,
so this change involved quite a few manual fixups.
With luck, they'll keep compatibility for some while in the future.
</content>
</entry>
<entry>
<title>tor-memquota: Provide reconfigure method</title>
<updated>2024-09-04T12:26:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-28T15:43:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4e5bd7c9413c377d72dab864b5174adff6bb4698'/>
<id>urn:sha1:4e5bd7c9413c377d72dab864b5174adff6bb4698</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-memquota: Make reclamation wakeup no longer throw internal errors</title>
<updated>2024-09-04T12:26:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-28T15:37:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0c823ec5061916c76516488811043917fc06d8f5'/>
<id>urn:sha1:0c823ec5061916c76516488811043917fc06d8f5</id>
<content type='text'>
I realised a way this could happen without there being a bug.
</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>Move stream_peek into tor-async-utils</title>
<updated>2024-08-29T14:08:06Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-08-21T19:23:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2a11886271c41a0e2449c944b2f24db7f243d506'/>
<id>urn:sha1:2a11886271c41a0e2449c944b2f24db7f243d506</id>
<content type='text'>
</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>byte_qty: Move to tor-basic-utils</title>
<updated>2024-08-27T11:46:06Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-22T12:24:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dcb8d005f978d92b27be7887d6d24de23e0a2804'/>
<id>urn:sha1:dcb8d005f978d92b27be7887d6d24de23e0a2804</id>
<content type='text'>
Code motion of byte_qty.rs, and minimal necessary supporting changes.
</content>
</entry>
<entry>
<title>byte_qty: Rename Qty to ByteQty and make it pub</title>
<updated>2024-08-27T11:45:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-22T10:32:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=27f7cace37cd5e16f8adbda7db80d586a36a00c9'/>
<id>urn:sha1:27f7cace37cd5e16f8adbda7db80d586a36a00c9</id>
<content type='text'>
We're going to make this into a proper public type.

It's going to move into a different crate, where there's no prelude,
so give it a bespoke set of imports too.
</content>
</entry>
<entry>
<title>byte_qty: Move Qty into its own module, byte_qty.</title>
<updated>2024-08-27T11:45:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-08-22T11:50:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=08585e5caa18461d560d4ea81a3edd06fe150adc'/>
<id>urn:sha1:08585e5caa18461d560d4ea81a3edd06fe150adc</id>
<content type='text'>
Code motion, part 1.

Also explain in comments at the top of the new module why we are doing
this at all rather than using an existing thing.
</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>
