<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell/src/relaycell/msg.rs, branch arti-v1.8.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.8.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.8.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-11-06T11:28:22Z</updated>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>Decorate a use with an allow</title>
<updated>2025-11-06T11:16:02Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:16:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=94908469ae44f8fdf4ba72974b7ba0564628d4e4'/>
<id>urn:sha1:94908469ae44f8fdf4ba72974b7ba0564628d4e4</id>
<content type='text'>
This seems to depend on cfgs.  As I say in #1060, I don't think
precise cfg decoration of imports is sensible.

Also, it shouldn't be my job to fix whatever this is...
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
<entry>
<title>tor-cell: remove `flowctl-cc` feature and make XON/XOFF cells stable</title>
<updated>2025-07-15T05:33:18Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-07-15T05:27:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=676dbdb43f2a930b7dc89d2a6275338064fd37bf'/>
<id>urn:sha1:676dbdb43f2a930b7dc89d2a6275338064fd37bf</id>
<content type='text'>
I don't see any further changes being needed for these types, and it
simplifies a lot of future code in tor-proto that uses these types.
</content>
</entry>
<entry>
<title>tor-cell: add `Xon`/`Xoff` cells</title>
<updated>2025-06-09T14:09:20Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-06-09T14:01:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2d3f0918ab866ef25fe259c6648e208a01865a93'/>
<id>urn:sha1:2d3f0918ab866ef25fe259c6648e208a01865a93</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti, cell, dirclient: Use expect instead of unwrap.</title>
<updated>2025-05-29T14:21:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-05-21T13:58:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=684d6a02fd044c33e9c40c15012d18853c3bc4c3'/>
<id>urn:sha1:684d6a02fd044c33e9c40c15012d18853c3bc4c3</id>
<content type='text'>
Clippy nightly detects this problem, though earlier clippy verisons
haven't.  The common element here is applying unwrap() to the result
from a write!().
</content>
</entry>
<entry>
<title>proto: Use SendmeTag in place of CircTag</title>
<updated>2025-05-06T22:34:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-29T23:20:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=44f4290934140cd8afdc09e03aeeadd88264b23b'/>
<id>urn:sha1:44f4290934140cd8afdc09e03aeeadd88264b23b</id>
<content type='text'>
This doesn't make much change yet, but does save us an allocation
when handling SENDMEs.
</content>
</entry>
<entry>
<title>tor-cell: define a new SendmeTag type</title>
<updated>2025-05-06T22:34:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-29T22:49:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7e3a9079b0e731a0f4104725b1e1b3291ac961ca'/>
<id>urn:sha1:7e3a9079b0e731a0f4104725b1e1b3291ac961ca</id>
<content type='text'>
This is a more efficient representation for the tag on an
authenticated SENDME message: it comes in at 21 bytes.
Previously, we used Vec&lt;u8&gt;, which has 24 bytes of overhead
(on a 64 bit system), plus malloc overhead, plus 20 bytes of
allocated tag.

We had a similar type to this as
`tor_proto::congestion::sendme::CircTag`,
but it could only accomodate 20-byte values.

I don't expect that we will have enough of these simultaneously that
the memory savings will matter, but the allocation savings could be
significant.
</content>
</entry>
<entry>
<title>cell, proto: Use correct Data sizes for v1 relay cells</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-11T01:57:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=497e5f1acd27c2c316c3f5bbf7158c9516fef159'/>
<id>urn:sha1:497e5f1acd27c2c316c3f5bbf7158c9516fef159</id>
<content type='text'>
Since v1 cells have a longer tag, they can fit less data into a
single cell.  Ah well, that's the cost of improved security.

The code in data.rs is a little wonky, in that it currently requires
its buffer to be exactly the maximum size for a data cell.  We have
a TODO about fixing that in the future, but for now I've moved it to
use a boxed slice rather than a boxed array.

Part of #1944.
</content>
</entry>
<entry>
<title>cell: Remove the deprecated Data::split_from().</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-11T01:53:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=01b7c735761d878e68912355d1a16fe50d24e5b3'/>
<id>urn:sha1:01b7c735761d878e68912355d1a16fe50d24e5b3</id>
<content type='text'>
</content>
</entry>
</feed>
