<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell/src/relaycell.rs, branch arti-v1.1.4</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.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-02-28T16:15:39Z</updated>
<entry>
<title>Change several cfgs to refer to new feature names.</title>
<updated>2023-02-28T16:15:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-28T16:14:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=09d601d0507eea20221599ab604e5b077ef9259f'/>
<id>urn:sha1:09d601d0507eea20221599ab604e5b077ef9259f</id>
<content type='text'>
</content>
</entry>
<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>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 another debug_assert to relay cell encoding</title>
<updated>2023-02-15T15:48:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-14T19:27:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fce1c83f2e73ede24d876216b8a1ea13fe296650'/>
<id>urn:sha1:fce1c83f2e73ede24d876216b8a1ea13fe296650</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move slicewriter to tor-cell and make it private.</title>
<updated>2023-02-15T15:48:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-14T19:18:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=19c9593acfa2eef256179f909211ee83565624ad'/>
<id>urn:sha1:19c9593acfa2eef256179f909211ee83565624ad</id>
<content type='text'>
Also, add some comments about how it is likely to change.
</content>
</entry>
<entry>
<title>tor-cell: Add RelayCell::into_msg.</title>
<updated>2023-02-15T15:48:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-13T21:44:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e4bc7ef57b4fdd5298f3ff9a7c87c08852c6e2bf'/>
<id>urn:sha1:e4bc7ef57b4fdd5298f3ff9a7c87c08852c6e2bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: Add a new UnparsedRelayCell</title>
<updated>2023-02-15T15:48:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-13T17:16:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a809a809ba22a91387a4f49c4a22164369830270'/>
<id>urn:sha1:a809a809ba22a91387a4f49c4a22164369830270</id>
<content type='text'>
We'll use this to router relay messages on a circuit to the
appropriate stream, and hand them to that stream, without parsing
the message until the stream has been determined.
</content>
</entry>
<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: 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>
</feed>
