<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpc-client-core/src/msgs/request.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>rpc: Clean up pub items in nb_stream.</title>
<updated>2026-02-04T14:04:52Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-02-04T14:02:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0a50351d0d3981d22f76507b88c314d95facd5a9'/>
<id>urn:sha1:0a50351d0d3981d22f76507b88c314d95facd5a9</id>
<content type='text'>
(We don't need as many of these to be public as I had originally
thought.)
</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>rpc-client: Increase test coverage for the msgs module</title>
<updated>2025-03-18T16:08:23Z</updated>
<author>
<name>vcrn</name>
<email>3893-vcrn@gitlab.torproject.org</email>
</author>
<published>2025-03-18T16:08:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e70fa298389e99183ff400726bf31e578c3d44c6'/>
<id>urn:sha1:e70fa298389e99183ff400726bf31e578c3d44c6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpclib: Rename ParsedRequest to ParsedRequestFields</title>
<updated>2024-08-07T12:21:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-06T14:07:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c05d234ced1e126ae975314484dd409c98f2f983'/>
<id>urn:sha1:c05d234ced1e126ae975314484dd409c98f2f983</id>
<content type='text'>
This name change should emphasize that the (module-private)
`ParsedRequestFields` type is only for parsing, and we aren't
supposed to actually construct them for our own requests.

With this change, and the others on the branch, there's no longer a
risk of trying to serialize a ParsedRequestFields (since it doesn't
implement Serialize), or to deserialize a Request (since it doesn't
implement Deserialize).

Closes #1511.
</content>
</entry>
<entry>
<title>rpclib: Use JsonValue to re-encode requests.</title>
<updated>2024-08-07T12:21:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-06T14:02:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=46c06e389ff71f819751001b916f509689acab4a'/>
<id>urn:sha1:46c06e389ff71f819751001b916f509689acab4a</id>
<content type='text'>
As with responses, we previously used a strategy that could have
failed in the future, if we forgot to add an "unexpected_fields"
member to one of our structs.

Closes #1512.
</content>
</entry>
<entry>
<title>rpclib: Unify error type for ValidatedRequest failure.</title>
<updated>2024-08-07T12:21:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-06T13:05:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5756400a33f1a4e35d676aaa90bad69ac34aaab2'/>
<id>urn:sha1:5756400a33f1a4e35d676aaa90bad69ac34aaab2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpclib: Refactor request canonicalization</title>
<updated>2024-08-07T12:21:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-06T12:50:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2eaa2dc0c902411b83365e9e2f11da268f98a8fd'/>
<id>urn:sha1:2eaa2dc0c902411b83365e9e2f11da268f98a8fd</id>
<content type='text'>
This lets us make a couple of types module-private,
and prepares the way for using the serde_json::Value trick on
requests too.
</content>
</entry>
<entry>
<title>rpclib: Apply serde(default) to RpcMeta::updates.</title>
<updated>2024-08-05T16:54:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-05T16:54:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2e5172690103cb9b60310fcdadfe441c01ca4a19'/>
<id>urn:sha1:2e5172690103cb9b60310fcdadfe441c01ca4a19</id>
<content type='text'>
This enable a `meta` object to have no `updates` field set.
</content>
</entry>
<entry>
<title>rpclib: preserve unrecognized request fields</title>
<updated>2024-08-04T14:36:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-04T14:36:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ffba394c4e2df46f2a7130251b20b32df44f04e7'/>
<id>urn:sha1:ffba394c4e2df46f2a7130251b20b32df44f04e7</id>
<content type='text'>
When writing a request, we want to keep any fields that we don't
recognize, in case the application (and arti) know about some
field that we haven't heard of.
</content>
</entry>
</feed>
