<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-async-utils/src/sink_try_send.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>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: impl `SinkTrySend` for `mpsc::UnboundedSender`</title>
<updated>2025-08-05T19:57:35Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-07-31T19:47:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=961e980ce8ccf55aff4fb3820f886b58abca59d0'/>
<id>urn:sha1:961e980ce8ccf55aff4fb3820f886b58abca59d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix errors from rustdoc nightly.</title>
<updated>2025-08-05T13:34:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-05T13:34:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=30a36b17593c10255ddd37eb7579c895c6629b67'/>
<id>urn:sha1:30a36b17593c10255ddd37eb7579c895c6629b67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-async-utils: SinkTrySend: Fix a doc comment</title>
<updated>2024-10-02T13:05:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-02T13:05:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0da07d87fe94a048567f730b8eff575fb8370b7'/>
<id>urn:sha1:f0da07d87fe94a048567f730b8eff575fb8370b7</id>
<content type='text'>
This was a copypaste error, resulting in a statement with the wrong
sense.

As per
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2468#note_3086961
</content>
</entry>
<entry>
<title>tor-async-utils: Avoid needless nesting of ErasedSinkTrySendError</title>
<updated>2024-10-01T17:29:40Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-30T16:36:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=75f27f45163bfc7b62893decd4184550ccc8d11d'/>
<id>urn:sha1:75f27f45163bfc7b62893decd4184550ccc8d11d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-async-utils: Provide tests for ErasedSinkTrySendError</title>
<updated>2024-10-01T17:29:40Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-30T15:56:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=34a3a34f3a7e4074ae32a575804865e8621b1f2a'/>
<id>urn:sha1:34a3a34f3a7e4074ae32a575804865e8621b1f2a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-async-utils: Implement SinkTrySend for mpsc::Sender</title>
<updated>2024-10-01T17:29:40Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-30T16:25:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=84286777c28f8e1827589377b2ee55c79db501db'/>
<id>urn:sha1:84286777c28f8e1827589377b2ee55c79db501db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-async-utils: Provide new SinkTrySend trait</title>
<updated>2024-10-01T17:29:40Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-30T16:12:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=99c400a15cd449e5d4dd7eb44e9888d8a15c4a3f'/>
<id>urn:sha1:99c400a15cd449e5d4dd7eb44e9888d8a15c4a3f</id>
<content type='text'>
This is the method try_send from mpsc::channel::Sender.  We want to be
able to replace that type in tor-circmgr with a memquota wrapper, so
the call needs to be a trait method.

This API is deceptively simple.
Implementing it will involve more support machinery for error handling.
</content>
</entry>
</feed>
