<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rpcbase/src/lib.rs, branch arti-v1.4.2</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-01-28T18:54:01Z</updated>
<entry>
<title>Merge branch 'rpc-references-cleanup' into 'main'</title>
<updated>2025-01-28T18:54:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-28T18:54:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b47ae94f8d525f55ecf0f962fc7159f0aa521b'/>
<id>urn:sha1:77b47ae94f8d525f55ecf0f962fc7159f0aa521b</id>
<content type='text'>
rpc: Move support for weak references behind an experimental feature

See merge request tpo/core/arti!2742</content>
</entry>
<entry>
<title>Merge branch 'strongrefs_are_not_deduped' into 'main'</title>
<updated>2025-01-28T13:22:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-28T13:22:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b0d75277c2f17acca97963685a6e223d5b67393f'/>
<id>urn:sha1:b0d75277c2f17acca97963685a6e223d5b67393f</id>
<content type='text'>
rpc: Clean up comments surrounding strong references

See merge request tpo/core/arti!2741</content>
</entry>
<entry>
<title>rpcbase: Make recognized namespace list optional.</title>
<updated>2025-01-27T21:10:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-27T18:39:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1d251c1e685b5c5afc4666e75293b62e8619d958'/>
<id>urn:sha1:1d251c1e685b5c5afc4666e75293b62e8619d958</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpcbase: Move is_valid_rpc_identifier to crate root.</title>
<updated>2025-01-27T21:10:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-27T18:36:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=685702a9055459641dac6b830ceacff244f0f5ac'/>
<id>urn:sha1:685702a9055459641dac6b830ceacff244f0f5ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Move support for weak references behind an experimental feature</title>
<updated>2025-01-27T19:51:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-27T19:11:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=31be122e79a2dc66209cd6077d09839f2de8298e'/>
<id>urn:sha1:31be122e79a2dc66209cd6077d09839f2de8298e</id>
<content type='text'>
We haven't decided how these should work (see #868), so having them
present by default is a bad idea.
</content>
</entry>
<entry>
<title>rpc: Clean up comments surrounding strong references</title>
<updated>2025-01-27T19:49:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-27T19:49:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4709e6891629fcd2c8ae4cd767494a6597bf519e'/>
<id>urn:sha1:4709e6891629fcd2c8ae4cd767494a6597bf519e</id>
<content type='text'>
They used to be deduplicated, but they haven't been for a while.
</content>
</entry>
<entry>
<title>rpc: Rename InvalidMethodName to InvalidRpcIdentifier.</title>
<updated>2025-01-27T18:33:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-27T18:33:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ee9c39ba6e35769a21d3010e44124d59206009b4'/>
<id>urn:sha1:ee9c39ba6e35769a21d3010e44124d59206009b4</id>
<content type='text'>
We're about to use this error type for other things too.
</content>
</entry>
<entry>
<title>clippy: deny `mod_module_files`</title>
<updated>2025-01-06T23:09:41Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-01-06T23:02:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=252a3a803b2db65792db5bd51dee8950d8557e0d'/>
<id>urn:sha1:252a3a803b2db65792db5bd51dee8950d8557e0d</id>
<content type='text'>
Denies 'mod.rs' files for consistency.

https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files
</content>
</entry>
<entry>
<title>add_warnings, *: Allow clippy::needless_lifetimes</title>
<updated>2024-12-03T14:27:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-12-03T14:15:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=64cc3f2ed3eea0b7c5cc89ae07cbdadfdc1646fb'/>
<id>urn:sha1:64cc3f2ed3eea0b7c5cc89ae07cbdadfdc1646fb</id>
<content type='text'>
In 1.83, this warning triggers on many of our crates.
We're thinking of fixing them all, but for now,
we're going to disable the warning.

This is part of #1765.
</content>
</entry>
<entry>
<title>rpc: Simplify method-dispatch-bypass logic a bit</title>
<updated>2024-10-24T01:35:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-24T00:33:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eb1d9acd10c5d500f56d637a7bba3acdd67dc9e8'/>
<id>urn:sha1:eb1d9acd10c5d500f56d637a7bba3acdd67dc9e8</id>
<content type='text'>
This commit removes the separate function for asking whether to
bypass the dispatch code.  Instead, it gives the "invoke with
bypass" function an error to return when no dispatch is warranted,
and moves the whole responsibility for method dispatch or
non-dispatch back into tor-rpcbase.

I had to add an ObjectId argument to `invoke_rpc_method` to make
this work, but that's probably a good thing.

Additionally, this commit tweaks the derive-deftly macro to prevent
you from asking for dispatch bypass on special methods, where it
isn't implemented (and doesn't really make sense).
</content>
</entry>
</feed>
