<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rpcbase, branch arti-v1.1.6</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-06-30T12:42:21Z</updated>
<entry>
<title>Bump patchlevel versions on crates with smaller changes</title>
<updated>2023-06-30T12:42:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-30T12:42:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=de13a7319b7de5a336a70f128d1904954ed77f82'/>
<id>urn:sha1:de13a7319b7de5a336a70f128d1904954ed77f82</id>
<content type='text'>
Done with the commands below.

The following crates have had various changes, and should get a
patchlevel bump. Since they are pre-1.0, we do not need to
distinguish new APIs from other changes.

```
cargo set-version --bump patch -p arti-client
cargo set-version --bump patch -p safelog
cargo set-version --bump patch -p tor-bytes
cargo set-version --bump patch -p tor-cert
cargo set-version --bump patch -p tor-circmgr
cargo set-version --bump patch -p tor-config
cargo set-version --bump patch -p tor-consdiff
cargo set-version --bump patch -p tor-dirclient
cargo set-version --bump patch -p tor-dirmgr
cargo set-version --bump patch -p tor-error
cargo set-version --bump patch -p tor-hsservice
cargo set-version --bump patch -p tor-linkspec
cargo set-version --bump patch -p tor-llcrypto
cargo set-version --bump patch -p tor-netdir
cargo set-version --bump patch -p tor-netdoc
cargo set-version --bump patch -p tor-proto
cargo set-version --bump patch -p tor-rpcbase
cargo set-version --bump patch -p tor-socksproto
```

This crate has new features, but no new non-experimental Rust APIs.
So even though it is post-1.0, it gets a patchlevel bump.

```
cargo set-version --bump patch -p arti
```
</content>
</entry>
<entry>
<title>lints: Run maint/add_warning to actually apply new lints</title>
<updated>2023-06-21T11:15:41Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-21T10:29:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=161b9844dae0aaa2e63bbc77c512d061be6bb390'/>
<id>urn:sha1:161b9844dae0aaa2e63bbc77c512d061be6bb390</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'rpcdoc' into 'main'</title>
<updated>2023-06-20T12:11:49Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2023-06-20T12:11:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=affa5b5e919c09df54082c3abaa4dee22ce6e534'/>
<id>urn:sha1:affa5b5e919c09df54082c3abaa4dee22ce6e534</id>
<content type='text'>
rpc: Minor docs improvements

See merge request tpo/core/arti!1260</content>
</entry>
<entry>
<title>rpc: Cross-reference up from tor-rpcbase re where DispatchTable lives</title>
<updated>2023-06-16T16:48:59Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-16T16:48:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=85a046e2664253e33c0ab76e56613281bbb232ec'/>
<id>urn:sha1:85a046e2664253e33c0ab76e56613281bbb232ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Remove some verbiage about 'static, and demo that it's OK without</title>
<updated>2023-06-15T11:07:11Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-15T10:29:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1710ce54f4d3c731328491718cc70f0d92639670'/>
<id>urn:sha1:1710ce54f4d3c731328491718cc70f0d92639670</id>
<content type='text'>
It's now not actually possible to write code that doesn't work, even
if `Tr` *isn't* 'static, because of the bounds on `CastTable::insert`.

I tried to produce a non-working setup with a non-static `Simple`, but
you can't implement `Object` for such a thing.  Removing 'static from
Object would stop the downcasts from Any to Object working.

Prior to the new typesafe insert, this change
  - let f: fn(&amp;dyn $crate::Object) -&gt; &amp;(dyn $traitname + 'static) = |self_| {
  + let f: fn(&amp;dyn $crate::Object) -&gt; &amp;(dyn $traitname) = |self_| {
would result in a runtime crash.  Now it results in a compiler error.
</content>
</entry>
<entry>
<title>rpc: Give the name `O` to "the type associated with this CastTable"</title>
<updated>2023-06-15T11:03:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-15T10:36:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0eedf0e2548587b77295ba8180fd926d8eee3ee1'/>
<id>urn:sha1:0eedf0e2548587b77295ba8180fd926d8eee3ee1</id>
<content type='text'>
This was locally bound to `S` in one place.  Bind and use it throughout.
Since this is an RPC object, `O` is a better name.

In each item, use the description once and thereafter just the name.
</content>
</entry>
<entry>
<title>rpc: Add Simple test case for CastTable</title>
<updated>2023-06-15T11:03:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-15T10:28:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2228751a007aeab35f40c97174520e0268469e5d'/>
<id>urn:sha1:2228751a007aeab35f40c97174520e0268469e5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Move boxing from macro to CastTable::insert (formatting)</title>
<updated>2023-06-15T11:03:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-15T11:03:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=54b364cdcf324200c0dbfdc0012f7397510874ec'/>
<id>urn:sha1:54b364cdcf324200c0dbfdc0012f7397510874ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Move boxing from macro to CastTable::insert</title>
<updated>2023-06-15T10:32:32Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-15T10:23:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=890a7b52be529b3ae810581a2ad4b26dccdb7320'/>
<id>urn:sha1:890a7b52be529b3ae810581a2ad4b26dccdb7320</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Make CastTable::insert be more type-safe</title>
<updated>2023-06-15T10:13:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-15T10:11:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8452fe11cf8a18e788a35853ac378eef461b6af9'/>
<id>urn:sha1:8452fe11cf8a18e788a35853ac378eef461b6af9</id>
<content type='text'>
This checks the Requirements.
</content>
</entry>
</feed>
