<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell/src/relaycell/msg.rs, branch arti-v1.1.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.1.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-02-28T11:10:17Z</updated>
<entry>
<title>Rename onion-* cargo features to hs-* in tor-* crates</title>
<updated>2023-02-28T11:10:17Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-24T14:26:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f63c7c48afd94fe9d09746f0b76fbaff8d4a1a79'/>
<id>urn:sha1:f63c7c48afd94fe9d09746f0b76fbaff8d4a1a79</id>
<content type='text'>
Fixes #756
</content>
</entry>
<entry>
<title>Rearrange cfg_attr in relaycell::msg</title>
<updated>2023-02-21T15:18:46Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-16T13:13:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c1fbcb34f6f2e94fdc0773b1c8e092fdd302b990'/>
<id>urn:sha1:c1fbcb34f6f2e94fdc0773b1c8e092fdd302b990</id>
<content type='text'>
docsrs wants to find its `cfg_attr(docsrs...)` line after the
`cfg()` line.
</content>
</entry>
<entry>
<title>Merge branch 'hs-cells-1' into 'main'</title>
<updated>2023-02-16T15:36:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-16T15:36:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=878531af90249d4fc8a8ddf35d6bfd7c3373d123'/>
<id>urn:sha1:878531af90249d4fc8a8ddf35d6bfd7c3373d123</id>
<content type='text'>
Start refactoring hs cell implementations

See merge request tpo/core/arti!1020</content>
</entry>
<entry>
<title>tor-cell: add a TODO comment about simplifying Body away.</title>
<updated>2023-02-15T15:48:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-14T19:30:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=21db73f182ad822e1693eb0fca1a619066c25376'/>
<id>urn:sha1:21db73f182ad822e1693eb0fca1a619066c25376</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: Note an opportunity for future optimization</title>
<updated>2023-02-15T15:48:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-13T19:33:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=65cc7d09743250ca98ea237bd7fd9eae788491fa'/>
<id>urn:sha1:65cc7d09743250ca98ea237bd7fd9eae788491fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: Extract establish-intro into its own module.</title>
<updated>2023-02-15T12:46:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-15T12:46:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=37fcb0ca7cd6d68a328a24e71362cc3d789db15d'/>
<id>urn:sha1:37fcb0ca7cd6d68a328a24e71362cc3d789db15d</id>
<content type='text'>
Some of the HS message types have a lot of dependent types, like
extensions and options for those extensions, and so on.  Except when
those extensions are portable across cell types, it makes sense
to put them in their own modules.
</content>
</entry>
<entry>
<title>tor-cell: rename onion_service module to hs</title>
<updated>2023-02-15T12:38:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-15T12:38:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5c85397bb759cbecc4f55372504c2779090bd8dc'/>
<id>urn:sha1:5c85397bb759cbecc4f55372504c2779090bd8dc</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: 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>
</feed>
