<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell/src/restrict.rs, branch arti-v1.3.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-05-07T16:23:39Z</updated>
<entry>
<title>Fix indentation from last commit.</title>
<updated>2024-05-07T16:23:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-07T16:23:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=06626ed2b5111a8aad50a8569f08486acd0c51d4'/>
<id>urn:sha1:06626ed2b5111a8aad50a8569f08486acd0c51d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: Allow unuexpected_cfgs in restricted macro.</title>
<updated>2024-05-07T16:22:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-07T16:22:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ab6f9228c2fa03e405717205508ec516f90134fd'/>
<id>urn:sha1:ab6f9228c2fa03e405717205508ec516f90134fd</id>
<content type='text'>
(We need this to permit our usage of our $omit_from hack.)
</content>
</entry>
<entry>
<title>tor-cell: Stop using deprecated name in doctest</title>
<updated>2023-12-14T20:11:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-14T20:11:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b735e7e00576a8f893f33a8c232a6d7ca4948eef'/>
<id>urn:sha1:b735e7e00576a8f893f33a8c232a6d7ca4948eef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: Implement {Relay,Chan}Msg for every body type</title>
<updated>2023-02-15T15:48:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-13T20:53:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3f1457ea046b724a1df33dee6c91c1e51a773dd5'/>
<id>urn:sha1:3f1457ea046b724a1df33dee6c91c1e51a773dd5</id>
<content type='text'>
This will make it ergonomic to decode a single body type without
having to declare a variant that accepts only a single message.
</content>
</entry>
<entry>
<title>tor-cell: Return a useful error when restrist_msg rejects a command.</title>
<updated>2023-02-09T15:20:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-08T14:11:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1c1dec0948975bc111cff14aff7b14cc5a8efd2c'/>
<id>urn:sha1:1c1dec0948975bc111cff14aff7b14cc5a8efd2c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change tor_bytes::Error::BadMessage to a Cow.</title>
<updated>2023-02-09T15:20:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-08T13:51:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=48ab7b0463aaada172a426ad4b20a63d7f44cb84'/>
<id>urn:sha1:48ab7b0463aaada172a426ad4b20a63d7f44cb84</id>
<content type='text'>
Actually, to avoid making a breaking change, I'm deprecating
BadMessage and creating a new InvalidMessage variant that takes a
Cow.  This way I don't need to track every crate that re-exposes
tor_bytes::Error and call this a breaking change in those.

Making this change will allow tor_bytes errors to be much more
helpful.
</content>
</entry>
<entry>
<title>tor-cell: Re-export paste so restrict_msg can work outside the crate.</title>
<updated>2023-02-09T15:20:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-08T13:26:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=037d1658b2b69ac6cc76801034d605e7bd073d27'/>
<id>urn:sha1:037d1658b2b69ac6cc76801034d605e7bd073d27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: Make RelayEarly a separate type.</title>
<updated>2023-02-09T15:20:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-08T12:41:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=16b9d23a7c0439b574eedd11323884f71a26148d'/>
<id>urn:sha1:16b9d23a7c0439b574eedd11323884f71a26148d</id>
<content type='text'>
This allows us to remove a shenanigan from `restricted_msg!{}`.
</content>
</entry>
<entry>
<title>tor-cell: Have restrict_msg add conversion functions.</title>
<updated>2023-02-09T15:20:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-07T22:35:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e832cbd29c2a81449e097961a86b6ef75db3dfc3'/>
<id>urn:sha1:e832cbd29c2a81449e097961a86b6ef75db3dfc3</id>
<content type='text'>
Every FooMsg type now implements Into&lt;AnyFooMsg&gt;, and
TryFrom&lt;FooMsg&gt;.

Additionally, it now implements From&lt;X&gt; for every distinct type that
it supports.  This last part lets us discard a bunch of code.

Unfortunately, I needed some downright hackish trickery in order to
get these macros to avoid generating `From&lt;AnyFooMsg&gt; for AnyFooMsg`
and conflicting with the blanket implementation.

The trickery to deal with RelayEarly and Relay being the same type
was not necessarily worth it; I will be separating them and removing
said trickery in the next commit.
</content>
</entry>
<entry>
<title>tor-cell: documentation cleanups related to restricted_msg</title>
<updated>2023-02-07T21:03:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-07T19:45:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7feda22444662180314693adf3084f44b867d857'/>
<id>urn:sha1:7feda22444662180314693adf3084f44b867d857</id>
<content type='text'>
</content>
</entry>
</feed>
