<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpcserver/src, 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-07-15T17:56:49Z</updated>
<entry>
<title>add_warning: add reference to arti#2556</title>
<updated>2026-07-15T17:56:49Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-07-15T17:56:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6d333d6e6f0bf4d75fdc81e8865e06f6537d5af6'/>
<id>urn:sha1:6d333d6e6f0bf4d75fdc81e8865e06f6537d5af6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed unnecessary lint</title>
<updated>2026-07-15T17:16:51Z</updated>
<author>
<name>pryty26</name>
<email>238962075+pryty26@users.noreply.github.com</email>
</author>
<published>2026-07-15T17:07:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d12e408c1d62f29e58647c91a2714c49e3004cc4'/>
<id>urn:sha1:d12e408c1d62f29e58647c91a2714c49e3004cc4</id>
<content type='text'>
Removed unnecessary lint
</content>
</entry>
<entry>
<title>arti-rpcserver: remove string slices</title>
<updated>2026-06-10T17:17:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-06-10T17:01:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2658f17dc54abcf87b83feb16cb9cf6d772e76e9'/>
<id>urn:sha1:2658f17dc54abcf87b83feb16cb9cf6d772e76e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>everywhere: Add #[allow(clippy::string_slice)]</title>
<updated>2026-06-09T16:02:36Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T16:00:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d0af4abbd7b371f1eade609202a730cd9a1c21d3'/>
<id>urn:sha1:d0af4abbd7b371f1eade609202a730cd9a1c21d3</id>
<content type='text'>
This commit adds #[allow(clippy::string_slice)] to all functions in the
code where string slices are used, alongside a TODO comment.

We do this add the function header to have it consistent, as things like
expression based allow's are still experimental.
</content>
</entry>
<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>Make all TorClient constructors wrap the TorClient in an Arc.</title>
<updated>2026-05-13T20:44:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-05-13T13:33:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3cb880f30a37d8757534b9832fccbf00482508a8'/>
<id>urn:sha1:3cb880f30a37d8757534b9832fccbf00482508a8</id>
<content type='text'>
This is part of rationalizing the structure of TorClient so we can
refactor startup logic, and so that RPC code can reason about object
identity.  See #2469.
</content>
</entry>
<entry>
<title>Upgrade rand crates to 0.10.</title>
<updated>2026-05-12T20:55:43Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2026-05-07T20:06:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a18167928901d8c88cd1cdd87346de8ad1ee42a2'/>
<id>urn:sha1:a18167928901d8c88cd1cdd87346de8ad1ee42a2</id>
<content type='text'>
When the circ-padding feature is enabled, we use maybenot, which does
not yet support rand 0.10. In the meantime, enabling this feature pulls
in rand 0.9. This is not ideal, but should be okay as a temporary
situation.

This also replaces the use of ReseedingRng (which was removed in 0.10)
with the reseeding_rng crate. This is somewhat less performant, but it
should be okay.
</content>
</entry>
<entry>
<title>rpc: Have OneShotClient delegate to ClientDataStreamCtrl.</title>
<updated>2026-04-28T18:13:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-14T17:40:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=db5535029ceae83d1bd438bb98e3371b96ea678c'/>
<id>urn:sha1:db5535029ceae83d1bd438bb98e3371b96ea678c</id>
<content type='text'>
This enables the rpc client to call "arti:describe_path" and similar
methods on streams constructed via this mechanism.
</content>
</entry>
<entry>
<title>rpc: Propagate and use LookupErrors.</title>
<updated>2026-04-13T19:25:24Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-13T17:59:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dcd65c418876082086d8b9810d91dfc4bd8b3012'/>
<id>urn:sha1:dcd65c418876082086d8b9810d91dfc4bd8b3012</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Adjust invoke_rpc_method API and related lookups.</title>
<updated>2026-04-13T19:25:24Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-13T17:26:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6785f80fde8a2c0e1dea91d51ec0f4d36bdcb6bf'/>
<id>urn:sha1:6785f80fde8a2c0e1dea91d51ec0f4d36bdcb6bf</id>
<content type='text'>
The important thing here is that we need to look up the object
_after_ we invoke any non-dispatched methods, since the object might
be an expired weak reference.

This required some related changes to tests and error types.

Additionally, it required us to change the return value of
Context::remove, since we can remove objects that are not completely
present.
</content>
</entry>
</feed>
