<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc/microdesc.rs, branch arti-v2.5.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-06-25T12:54:12Z</updated>
<entry>
<title>Merge branch 'microdesc-sha' into 'main'</title>
<updated>2026-06-25T12:54:12Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-25T12:54:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=39eb664c3399649640acda8b31e8e2b38a22d149'/>
<id>urn:sha1:39eb664c3399649640acda8b31e8e2b38a22d149</id>
<content type='text'>
tor-netdoc: Remove document hash from Microdesc struct (and add MicrodescAndHash for that)

See merge request tpo/core/arti!4138</content>
</entry>
<entry>
<title>tor-netdoc: Replace string slices with str::get() in doc</title>
<updated>2026-06-24T12:22:30Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-24T12:22:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9587e70a6f8155f15dc454a1d70d14d1fd774382'/>
<id>urn:sha1:9587e70a6f8155f15dc454a1d70d14d1fd774382</id>
<content type='text'>
This commit replaces the use of string slices with str::get() in all
document related code.

While this is not a perfect replacement for it, the relevant parts in
the code heavily depend upon the byte offsets returned by the low level
(legacy) parser where changing it would lead to a very big refactoring.

Nonetheless, this approach is better because returning a bug is better
than crashing.
</content>
</entry>
<entry>
<title>tor-netdoc: Wrap port policies in Intern</title>
<updated>2026-06-24T09:01:03Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-18T14:46:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ad86bce0d99a28519684d1cdb88ff6ec3adcf62'/>
<id>urn:sha1:7ad86bce0d99a28519684d1cdb88ff6ec3adcf62</id>
<content type='text'>
This commit wraps the port policies in an Intern.
</content>
</entry>
<entry>
<title>tor-netdoc: Wrap family in Intern</title>
<updated>2026-06-24T09:01:03Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-18T14:18:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b7a6ca42a97faab84f143f2bb3933990fc90a858'/>
<id>urn:sha1:b7a6ca42a97faab84f143f2bb3933990fc90a858</id>
<content type='text'>
This commit wraps the relay family in an Intern instead of an Arc.
</content>
</entry>
<entry>
<title>Apply deferred rustfmt churn</title>
<updated>2026-06-22T17:00:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T19:42:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3f56e5e98af6d195a8f9d85ae87e226aa91b4c97'/>
<id>urn:sha1:3f56e5e98af6d195a8f9d85ae87e226aa91b4c97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Break Microdesc up into Microdesc and MicrodescAndHash</title>
<updated>2026-06-22T16:59:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T19:32:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=479acbf246db677d4139bca317cb0e3d1fd9340a'/>
<id>urn:sha1:479acbf246db677d4139bca317cb0e3d1fd9340a</id>
<content type='text'>
The Microdesc type having a copy of the document hash was always
weird, and it's weirder now that there's all these parse2 types that
don't have it and parse2 derives on Microdesc that don't touch it.

Make a new type for the descriptor and its hash.

Use deref to arrange that the new type works almost like the old one.

Adjust the use lines in the dependencies to temporarily import
MicrodescAndHash as Microdesc.
</content>
</entry>
<entry>
<title>tor-netdoc: Move some Microdesc methods</title>
<updated>2026-06-22T16:58:57Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T19:32:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=14f286c5d78c32a4e484e5623abfb3c7e0d00216'/>
<id>urn:sha1:14f286c5d78c32a4e484e5623abfb3c7e0d00216</id>
<content type='text'>
Code motion, plus adding a new impl block, to make the next commit
clearer.
</content>
</entry>
<entry>
<title>tor-netdoc: Microdesc: derive Constructor</title>
<updated>2026-06-22T16:57:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T18:46:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3a76a1eeee2be4b18554e43b337b67e544c6efb8'/>
<id>urn:sha1:3a76a1eeee2be4b18554e43b337b67e544c6efb8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc Micordesc: Make intro item type public</title>
<updated>2026-06-22T16:57:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T18:51:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=72d163d5d622ddb18e2f79066f7714f28792c372'/>
<id>urn:sha1:72d163d5d622ddb18e2f79066f7714f28792c372</id>
<content type='text'>
We don't need the type to be private.  Indeed, we'd like it not to be
to make Microdesc construction with Constructor regular
</content>
</entry>
<entry>
<title>tor-netdoc Micordesc: rename the intro item type</title>
<updated>2026-06-22T16:57:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T18:51:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5c677946a84528f133567cb93a80b53ddd7d6af2'/>
<id>urn:sha1:5c677946a84528f133567cb93a80b53ddd7d6af2</id>
<content type='text'>
"OnionKeyIntro" is particularly odd.  Mostly people won't need to
refer to this, anyway.
</content>
</entry>
</feed>
