<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirclient/src/lib.rs, branch arti-v2.5.0</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.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0'/>
<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>dirclient: Split EncodedRequest and RequestBody.</title>
<updated>2026-05-12T12:11:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-05-11T13:07:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=803fbaccf0721290bdfc86977b646b274a608a1b'/>
<id>urn:sha1:803fbaccf0721290bdfc86977b646b274a608a1b</id>
<content type='text'>
RequestBody is now just an `Option&lt;Arc&lt;str&gt;&gt;` internally,
and EncodedRequest is much simpler.
</content>
</entry>
<entry>
<title>tor-dirclient: Avoid copying bytes that we want to POST.</title>
<updated>2026-05-12T12:10:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-25T21:13:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1f6d57019a4b2a1e5955e6b89e066d58718902d5'/>
<id>urn:sha1:1f6d57019a4b2a1e5955e6b89e066d58718902d5</id>
<content type='text'>
This required a change to the hsservice tests, which previously
assumed that we'd perform one write per request.
</content>
</entry>
<entry>
<title>tor-dirclient: Introduce a new RequestBody type.</title>
<updated>2026-05-12T12:10:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-25T20:45:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2ca3429618434b70c07b9da67c98708ecc11e9e0'/>
<id>urn:sha1:2ca3429618434b70c07b9da67c98708ecc11e9e0</id>
<content type='text'>
I'm going to use this to avoid copying when uploading large
documents.
</content>
</entry>
<entry>
<title>tor-dirclient: port to web-time-compat.</title>
<updated>2026-03-26T19:20:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-03-26T15:26:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=76b63503e262ec05cdcea085d5708ebf8074f139'/>
<id>urn:sha1:76b63503e262ec05cdcea085d5708ebf8074f139</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirclient: Use US spelling</title>
<updated>2026-03-11T15:22:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-11T15:22:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4088d8d4e7c7ae092891e4de19f34d8355076a6e'/>
<id>urn:sha1:4088d8d4e7c7ae092891e4de19f34d8355076a6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirclient: Attempt to explain AnonymizedRequest</title>
<updated>2026-03-11T15:13:43Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-11T15:13:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3eb15f829c199b770c511a70f993c074fd36fe01'/>
<id>urn:sha1:3eb15f829c199b770c511a70f993c074fd36fe01</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirclient: Only fail on empty GET responses</title>
<updated>2026-03-04T15:41:19Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-02-09T10:20:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7a10a7703b4417d6f219fc6b7b0452b416476112'/>
<id>urn:sha1:7a10a7703b4417d6f219fc6b7b0452b416476112</id>
<content type='text'>
This commit fixes the previous check to only fail on empty GET
responses.  For this, it introduces a `method` field into
`DirResponse`, which is required to determine the method there.

Doing this is reasonable for an HTTP client, as responses have different
meanings depending on the request method used.
</content>
</entry>
<entry>
<title>Allow clippy::collapsible_if to trigger</title>
<updated>2026-02-16T15:22:24Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-09T11:49:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ade1d59e8e44c93b6ee447b72a2948a9652ec44e'/>
<id>urn:sha1:ade1d59e8e44c93b6ee447b72a2948a9652ec44e</id>
<content type='text'>
`clippy::collapsible_if` started triggering after bumping the MSRV to
1.88.

Since this triggers from a lot of places, and since there even are a
couple of instances where we explicitly allow `clippy::collapsible_ifs`,
I've opened #2342 for deciding what to do about it.
</content>
</entry>
<entry>
<title>maint/add_warning: Run script to add new warning</title>
<updated>2026-01-27T18:05:36Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-27T18:05:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a98faf72eb06b47700faeeac5a8a0dd0fc29b584'/>
<id>urn:sha1:a98faf72eb06b47700faeeac5a8a0dd0fc29b584</id>
<content type='text'>
This adds the lint to all our crates.
</content>
</entry>
</feed>
