<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/util, branch arti-v1.4.6</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-07-10T13:41:48Z</updated>
<entry>
<title>proto: Add the ability to enforce a maximum number of cells per hop</title>
<updated>2025-07-10T13:41:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-06-24T16:26:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=01a60a72ca746d1d5bdaa2269d8a7daf6ceb903e'/>
<id>urn:sha1:01a60a72ca746d1d5bdaa2269d8a7daf6ceb903e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: add `Notify{Sender,Receiver}` channel</title>
<updated>2025-06-23T20:36:57Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-23T20:34:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a3eb63512c7efd373b513aa2eabae6a2ec0ad0bf'/>
<id>urn:sha1:a3eb63512c7efd373b513aa2eabae6a2ec0ad0bf</id>
<content type='text'>
An async notification channel.

This uses `postage::watch::{Sender,Receiver}` internally.
</content>
</entry>
<entry>
<title>tor-proto: add `DynamicRateLimitedWriter`</title>
<updated>2025-06-16T19:19:37Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-09T16:38:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=34db37cc624953658b9223f374e44942c46da6bc'/>
<id>urn:sha1:34db37cc624953658b9223f374e44942c46da6bc</id>
<content type='text'>
This is a `Writer` rate limiter which can receive rate limit updates
from a `Stream`.
</content>
</entry>
<entry>
<title>tor-proto: fix bug in `RateLimitedWriter::poll_write`</title>
<updated>2025-06-08T23:25:01Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-08T22:18:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=28be14a2d6113c350dcbf45ff853b2fc6b567e7f'/>
<id>urn:sha1:28be14a2d6113c350dcbf45ff853b2fc6b567e7f</id>
<content type='text'>
Previously it did not behave correctly when `bucket.max()` was 0 (it
would sleep for 0 time instead of infinitely, triggering a debug
assertion).
</content>
</entry>
<entry>
<title>tor-proto: change `wake_when_bytes_available` to `NonZero&lt;u64&gt;`</title>
<updated>2025-06-08T23:24:31Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-08T21:42:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9779de7adbe4aa9cc848e685151a6c5cde0a7bce'/>
<id>urn:sha1:9779de7adbe4aa9cc848e685151a6c5cde0a7bce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: add additional unit test for `TokenBucket::adjust`</title>
<updated>2025-06-08T23:24:20Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-08T21:34:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=147254f64c2dea79e79d16cae1f71d752c5365a8'/>
<id>urn:sha1:147254f64c2dea79e79d16cae1f71d752c5365a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: improve `TokenBucket::adjust`</title>
<updated>2025-06-08T21:35:35Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-08T21:32:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=309ad777aefdff38b7300fbe671810d2e20e8698'/>
<id>urn:sha1:309ad777aefdff38b7300fbe671810d2e20e8698</id>
<content type='text'>
The token bucket is now refilled before changing the rate.
</content>
</entry>
<entry>
<title>tor-proto: rename `TokenBucket::last_refill` to `added_tokens_at`</title>
<updated>2025-06-08T21:35:01Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-08T21:25:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=967af19283489b465bbd2179c2a8a013c278a238'/>
<id>urn:sha1:967af19283489b465bbd2179c2a8a013c278a238</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: return `Result` from `tokens_available_at`</title>
<updated>2025-06-05T15:27:43Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-05T00:51:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=66d06e5b19b53e1aab0d5cf84572f5853528ce3b'/>
<id>urn:sha1:66d06e5b19b53e1aab0d5cf84572f5853528ce3b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: change `RateLimitedWriter` logic to use user-configurable limit</title>
<updated>2025-06-05T15:27:43Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-04T21:23:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=71deeccda0f8f253651516bc480861c48e90eab3'/>
<id>urn:sha1:71deeccda0f8f253651516bc480861c48e90eab3</id>
<content type='text'>
The user now sets a constant amount of bytes to wait for.
</content>
</entry>
</feed>
