<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/derive_common.rs, branch arti-v2.2.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.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-03-24T16:04:08Z</updated>
<entry>
<title>Fix typos</title>
<updated>2026-03-24T16:04:08Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2026-03-24T16:04:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1fb2b8dd4aee7c943ce90d6631be473f2a296fe6'/>
<id>urn:sha1:1fb2b8dd4aee7c943ce90d6631be473f2a296fe6</id>
<content type='text'>
Typos found with codespell
</content>
</entry>
<entry>
<title>tor-netdoc: parse2: Move hash out of signature items</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-11T13:06:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aefa48e251f514a2cdbcb9e4a26292438b74af68'/>
<id>urn:sha1:aefa48e251f514a2cdbcb9e4a26292438b74af68</id>
<content type='text'>
During encoding, including these hashes in the signature items makes
no sense.  The hashes are an *input* to the signature items, but not
part of them.

Move the hashes out of the items.  Instead, provide each signatures
section type with a hash accumulator type, in which the hash(es) are
stored.
</content>
</entry>
<entry>
<title>tor-netdoc: NetdocParseableSignatures: Make into its own macro</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-03T19:04:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e12328a78e03425465320d98ad695c00614dac8d'/>
<id>urn:sha1:e12328a78e03425465320d98ad695c00614dac8d</id>
<content type='text'>
This is going to be its own trait and it is usually best if macros are
named after traits, rather than having the macro derive a different
trait depending on meta attributes.
</content>
</entry>
<entry>
<title>tor-netdoc: constructors: Use manual non exhaustive</title>
<updated>2026-01-14T14:45:54Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-01-06T16:40:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=72935deac807a009eaaf07bb7c7a8abef4e95531'/>
<id>urn:sha1:72935deac807a009eaaf07bb7c7a8abef4e95531</id>
<content type='text'>
With `#[non_exhaustive]`, you're not allowed to write even `Thing { ..base }`.
</content>
</entry>
<entry>
<title>tor-netdoc: derives: New `skip` document field option</title>
<updated>2026-01-14T14:45:54Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-01-07T12:39:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d209f26e1c01c5c337418f3c99c85aec31613c66'/>
<id>urn:sha1:d209f26e1c01c5c337418f3c99c85aec31613c66</id>
<content type='text'>
This lets us having document items that are "manually non exhaustive"
which is necessary for struct literal constructors.
</content>
</entry>
<entry>
<title>tor-netdoc: Improve docs for derived constructors</title>
<updated>2026-01-13T12:24:38Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-12T18:20:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c3a181d5a9a000f8468398fb8a705bee89a0acc7'/>
<id>urn:sha1:c3a181d5a9a000f8468398fb8a705bee89a0acc7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: improve derived Constructor docs with a kind-of example</title>
<updated>2026-01-13T12:24:38Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-01-06T15:49:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9d8a91d63f058a25ea299718a1cde0814fcc35b3'/>
<id>urn:sha1:9d8a91d63f058a25ea299718a1cde0814fcc35b3</id>
<content type='text'>
Let's not ask users to refer to the Constructor derive macro docs.
</content>
</entry>
<entry>
<title>tor-netdoc: implement Constructor derive</title>
<updated>2026-01-13T12:24:38Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-01-06T15:28:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1086009a553575b025378c33a8a46f937b54162e'/>
<id>urn:sha1:1086009a553575b025378c33a8a46f937b54162e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: constructor derive: API</title>
<updated>2026-01-13T12:24:38Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-01-06T13:20:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f976e262c2d023b239c70a6d29a8f663a0bb7a39'/>
<id>urn:sha1:f976e262c2d023b239c70a6d29a8f663a0bb7a39</id>
<content type='text'>
This doesn't actually work of course.
</content>
</entry>
<entry>
<title>tor-netdoc: debug: Add a placeholder debug print to all the other derives</title>
<updated>2025-12-10T11:05:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-12-08T16:30:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1751e36a78eb7bc10be080d1fd10a30f855f9098'/>
<id>urn:sha1:1751e36a78eb7bc10be080d1fd10a30f855f9098</id>
<content type='text'>
We want to recognise `#[deftly(netdoc(debug))]` because otherwise we
have to make lots of these attributes conditional.

So, implement it for *all* the derives, providing a nugatory debug
statement.
</content>
</entry>
</feed>
