<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-client/src/err, branch arti-v2.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1'/>
<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>arti-client: Use ErrorSources to find best hint for an error.</title>
<updated>2026-02-16T15:37:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-02-16T15:37:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e10c43bec734c77c268aa20d63b3953c4afb30d8'/>
<id>urn:sha1:e10c43bec734c77c268aa20d63b3953c4afb30d8</id>
<content type='text'>
Previously, due to #2338, we would miss any error nested directly
inside an io::Error.
</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>arti-client: Implement the basics of protocol enforcement.</title>
<updated>2025-04-16T23:06:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-07T15:04:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e4348e5d44da5d0dc2aaac0968dd5392500fbb46'/>
<id>urn:sha1:e4348e5d44da5d0dc2aaac0968dd5392500fbb46</id>
<content type='text'>
This is the major part of #1849.
</content>
</entry>
<entry>
<title>Run maint/add_warning.</title>
<updated>2024-03-13T16:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T16:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c'/>
<id>urn:sha1:c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add tests for finding (or not) hints in our error types.</title>
<updated>2024-02-16T19:46:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-16T19:46:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3c5153afab7faa98b0d97723cdaec781f08c5dcb'/>
<id>urn:sha1:3c5153afab7faa98b0d97723cdaec781f08c5dcb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Discourage providing HintableErrorImpl without using the macro.</title>
<updated>2024-02-16T19:25:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-16T19:25:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2d9c6d5cbdeaa1811ae58feb9f3a20b3a7ee77d5'/>
<id>urn:sha1:2d9c6d5cbdeaa1811ae58feb9f3a20b3a7ee77d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename one of the hint methods to hint_specific</title>
<updated>2024-02-16T19:18:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-16T19:18:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=18c81a79a30a9cf003e04ed70b9db3d37c051dce'/>
<id>urn:sha1:18c81a79a30a9cf003e04ed70b9db3d37c051dce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor and improve error hinting.</title>
<updated>2024-02-14T18:29:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-14T17:10:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=33c33380a7e4a949d83844814025b921a2b3ce9b'/>
<id>urn:sha1:33c33380a7e4a949d83844814025b921a2b3ce9b</id>
<content type='text'>
Instead of using complicated match statements, use downcasting
to find error types that define specific hints.  This also lets us
define a reasonable hint-extractor for anyhow::Error, and use it
when reporting errors in main.

I've left an implementation of hint() in `impl Error`, to
avoid breaking backward compatibility.

Closes #1165.
</content>
</entry>
</feed>
