<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/util/sometimes_unbounded_sink.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-06-09T15:36:01Z</updated>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>proto: Only replace padding when the target will see it.</title>
<updated>2025-09-10T14:40:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-09-10T14:36:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cc41bff0ae61d80a0a7fdeccfb13366b0dbd6fcb'/>
<id>urn:sha1:cc41bff0ae61d80a0a7fdeccfb13366b0dbd6fcb</id>
<content type='text'>
Previously we would replace padding with any cell that was already
in the queue.  But that doesn't make sense: If we have a cell queued
for hop 1, then we shouldn't use it as padding for hop 2, since hop
2 will never see it!  Instead, we look at the target hops for the
already queued cells.

Ref:
- https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3225/diffs?commit_id=3998e0559fbcc06f8ea88968051cebca71489a52
</content>
</entry>
<entry>
<title>proto: add SometimesUnboundedSink::as_inner_mut.</title>
<updated>2025-09-09T16:57:22Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-09-08T18:06:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=722d16ba1115257836c5b31973b9c8d374549886'/>
<id>urn:sha1:722d16ba1115257836c5b31973b9c8d374549886</id>
<content type='text'>
Include suitable dire warnings about actually using it.
</content>
</entry>
<entry>
<title>SometimesUnboundedSink: clarifying documentation.</title>
<updated>2025-09-08T15:07:54Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-09-08T14:40:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a1606e8d1753664bc6b4562ea3a29da3a3f6ba63'/>
<id>urn:sha1:a1606e8d1753664bc6b4562ea3a29da3a3f6ba63</id>
<content type='text'>
Explain how exactly its "you-must-poll-me" behavior relates to the
rest of the Sink ecosystem.
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
<entry>
<title>tor-async-utils: Make SometimesUnboundedSink::send_unbounded() pub(crate).</title>
<updated>2025-01-29T11:03:24Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-27T19:03:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98c951d9703e6d601add07734fa04592cbc1eba3'/>
<id>urn:sha1:98c951d9703e6d601add07734fa04592cbc1eba3</id>
<content type='text'>
We are about to use this in the circuit reactor (instead of
`pollish_send_unbounded`).
</content>
</entry>
<entry>
<title>proto: Notify CC when a SENDME is received</title>
<updated>2025-01-16T14:16:01Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-12-16T19:28:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=105bff27d1c3050a3b300b17a8c34da328cc25af'/>
<id>urn:sha1:105bff27d1c3050a3b300b17a8c34da328cc25af</id>
<content type='text'>
We also pass along congestion signals that may or may not be used by our
congestion control algorithm.

Part of #534

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-proto: Remove the no-longer needed allows</title>
<updated>2024-10-03T14:10:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-02T15:52:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=92d311f0bb91f4e3a52c1f567f96d8bd8c66d66f'/>
<id>urn:sha1:92d311f0bb91f4e3a52c1f567f96d8bd8c66d66f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: SometimesUnboundedSink: provide as_inner accessor</title>
<updated>2024-10-02T15:05:12Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-26T16:31:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e0eeed2d91802e77e5a189ee7dd4178b14a1813a'/>
<id>urn:sha1:e0eeed2d91802e77e5a189ee7dd4178b14a1813a</id>
<content type='text'>
</content>
</entry>
</feed>
