<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rpcbase/src/lib.rs, branch arti-v1.2.7</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.7</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.7'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-08-14T15:52:36Z</updated>
<entry>
<title>rpcbase: Implement RPC method delegation support.</title>
<updated>2024-08-14T15:52:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-14T15:52:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3d18a0b83556dada0279f2dd6681d81391e57177'/>
<id>urn:sha1:3d18a0b83556dada0279f2dd6681d81391e57177</id>
<content type='text'>
(Couldn't use Deref here, since we needed to get an Arc.)

Only one delegation target per object is permitted for now.

This will help with #1523.
</content>
</entry>
<entry>
<title>Add a missing incantation to fix doc(cfg=...).</title>
<updated>2024-08-13T12:25:52Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-13T12:25:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3d0c1bb3809af575d0c519efb43f5e2d197047c5'/>
<id>urn:sha1:3d0c1bb3809af575d0c519efb43f5e2d197047c5</id>
<content type='text'>
Without this, we get a warning when we run `cargo doc`.
</content>
</entry>
<entry>
<title>rpcbase: Feature to list the RPC methods and what they apply to.</title>
<updated>2024-08-13T00:27:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-12T16:02:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=89543b0010f550a5699293d7b3f07752971be6a4'/>
<id>urn:sha1:89543b0010f550a5699293d7b3f07752971be6a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Remove special conversion for SendUpdateError.</title>
<updated>2024-07-25T12:46:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-24T18:56:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cb2397248765f8e55fb30b6bdb837ad1345b3992'/>
<id>urn:sha1:cb2397248765f8e55fb30b6bdb837ad1345b3992</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Remove RpcError data field and use Report</title>
<updated>2024-07-25T12:46:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-23T17:26:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2e9cc83fd918a40f551bcc3f9595956067044aad'/>
<id>urn:sha1:2e9cc83fd918a40f551bcc3f9595956067044aad</id>
<content type='text'>
Per discussion, this field isn't really specified in a way that lets
us fill it sensibly at the moment.  So for now, we're going to just
omit it.

Additionally, we said that we'd Report on our errors; this branch
changes the implementation of RpcError to do that.

Question: Will the blanket implementation for Into&lt;RpcError&gt; make
it harder to re-add a Data field later on if we want to do so?
</content>
</entry>
<entry>
<title>rpc: Refactor errors part 1: a new RpcMethod trait.</title>
<updated>2024-07-25T12:43:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-23T17:23:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c7c630c44d9e937d7185f591d75fd42c33ab5238'/>
<id>urn:sha1:c7c630c44d9e937d7185f591d75fd42c33ab5238</id>
<content type='text'>
It is no longer necessary to say, for every RPC method,
that its error type is RpcError.
</content>
</entry>
<entry>
<title>rpcbase: remove now-unused invoke methods</title>
<updated>2024-07-25T12:43:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-23T15:12:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=110625889e9137647c445dc12d4877ae56cc037c'/>
<id>urn:sha1:110625889e9137647c445dc12d4877ae56cc037c</id>
<content type='text'>
These methods were defined on DispatchTable, and then replaced by
top-level functions in the crate.  (The reason for using top-level
functions instead is so that we get the locking on the dispatch
table correct.)
</content>
</entry>
<entry>
<title>rpc: remove TODO about adding an extension trait</title>
<updated>2024-07-25T12:43:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-23T14:04:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2c6c2c40aac3ae0b16535819dce3064521f31dc6'/>
<id>urn:sha1:2c6c2c40aac3ae0b16535819dce3064521f31dc6</id>
<content type='text'>
These functions are called rarely enough that it is probably okay
for the ergonomics to be a bit verbose.
</content>
</entry>
<entry>
<title>rpcbase: remove "Nil" TODO.</title>
<updated>2024-07-25T12:43:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-23T13:17:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eafa136bc29e6123600022afe39c441f8f61cb76'/>
<id>urn:sha1:eafa136bc29e6123600022afe39c441f8f61cb76</id>
<content type='text'>
This change would take some serde magic that is probably not worth it.
</content>
</entry>
<entry>
<title>rpcbase: tests for crate-level invoke functions.</title>
<updated>2024-07-16T00:17:38Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-16T00:17:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7692adb7ff4c99fb2c964d793326960bb6b8d5bb'/>
<id>urn:sha1:7692adb7ff4c99fb2c964d793326960bb6b8d5bb</id>
<content type='text'>
</content>
</entry>
</feed>
