<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell/semver.md, 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-15T15:48:19Z</updated>
<entry>
<title>tor-cell: Refactor relay cells to copy much less</title>
<updated>2023-02-15T15:48:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-13T02:19:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ca3b33a1afc58b84cc7a39ea3845a82f17cee0da'/>
<id>urn:sha1:ca3b33a1afc58b84cc7a39ea3845a82f17cee0da</id>
<content type='text'>
We now manipulate raw relay cell bodies as (an alias for)
`Box&lt;[u8;509]&gt;` rather than as (an alias for) `[u8;509]`.  This
enables us to do much less copying.  It will become more important
soon, as we defer parsing relay cell bodies even longer.

Related to #7.

We also use SliceWriter to avoid allocating a Vec&lt;&gt; for every relay
message we want to encode, and instead encode directly into the
cell.
</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>cell: Parameterize ChannelCodec::decode and encode.</title>
<updated>2023-02-09T13:26:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-07T21:37:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b6f6fa4d4b8aef9cdf64bf7ab6411a9efb077ff7'/>
<id>urn:sha1:b6f6fa4d4b8aef9cdf64bf7ab6411a9efb077ff7</id>
<content type='text'>
This change lets us use ChannelCodec to encode and decode any
restricted channel message type we want.  (Later on, we'll turn the
related Codec class in tor-proto into a more type-restricted version
of this.)
</content>
</entry>
<entry>
<title>tor-cell: Rename RelayMsg and RelayCell-related  types.</title>
<updated>2023-02-07T21:03:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-07T14:18:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d63d7926bd5e94f4129dd1a44e696728125a6c4a'/>
<id>urn:sha1:d63d7926bd5e94f4129dd1a44e696728125a6c4a</id>
<content type='text'>
Thanks to rust-analyzer for making this simple.
</content>
</entry>
<entry>
<title>tor-cell: Rename ChanMsg and ChanCell-related types.</title>
<updated>2023-02-07T21:03:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-07T14:12:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d99c13067939bd256614796be0a50637c3a2b3eb'/>
<id>urn:sha1:d99c13067939bd256614796be0a50637c3a2b3eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: Remove RelayMsg methods that are duplicated in RelayMsgClass.</title>
<updated>2023-02-07T21:03:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-07T13:56:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c529bb9c307ffd90d138bffc8ed4e2a45db9c4e3'/>
<id>urn:sha1:c529bb9c307ffd90d138bffc8ed4e2a45db9c4e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: Remove ChanMsg methods that are duplicated in ChanMsgClass.</title>
<updated>2023-02-07T21:03:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-07T13:48:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3c7aea723bc49dac09eeb4bcc1acb40f6094e2d5'/>
<id>urn:sha1:3c7aea723bc49dac09eeb4bcc1acb40f6094e2d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: Use macro to generate ChanMsg too.</title>
<updated>2023-02-07T21:03:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-06T19:51:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=71445f7ace187d824e535949dfbe781c7db03197'/>
<id>urn:sha1:71445f7ace187d824e535949dfbe781c7db03197</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: Change all variants of RelayMsg to have a body.</title>
<updated>2023-02-07T21:03:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-06T18:51:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ffb443709b1f8607a780fa93382ebb033bae4609'/>
<id>urn:sha1:ffb443709b1f8607a780fa93382ebb033bae4609</id>
<content type='text'>
Previously, there were some unit variants, but that makes things
quite awkward for #525.
</content>
</entry>
<entry>
<title>tor-cell: Make Body and MsgClass traits more uniform.</title>
<updated>2023-02-07T21:03:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-06T16:58:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=afd5232430578f47a242cd33d1efaebae9a4a117'/>
<id>urn:sha1:afd5232430578f47a242cd33d1efaebae9a4a117</id>
<content type='text'>
Doing this will make it much easier to implement a macro that
generates restricted instances of the Msg types (for #525).

The Body change is a breaking change.  I don't think anybody else
implements Body, but in theory they could.
</content>
</entry>
</feed>
