<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/derive_common.rs, branch arti-v2.0.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.0.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-01-14T14:45:54Z</updated>
<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>
<entry>
<title>tor-netdoc: derive: F_KEYWORD_REPORT: put concat on the outside</title>
<updated>2025-12-10T11:05:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-12-08T12:20:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=00862d90855ead394272188d121a670820c25c83'/>
<id>urn:sha1:00862d90855ead394272188d121a670820c25c83</id>
<content type='text'>
This makes it possible to use $F_KEYWORD_REPORT within another concat.
</content>
</entry>
<entry>
<title>tor-netdoc: derive_common: Break out docs for attrs in flatten</title>
<updated>2025-12-10T11:05:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-12-08T14:15:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=136ae84c9228c8b65f535f3bf7f3ffde0bafaeee'/>
<id>urn:sha1:136ae84c9228c8b65f535f3bf7f3ffde0bafaeee</id>
<content type='text'>
Code motion fromk NetdocParseableFields to NetdocFieldsDeriveCommon.

This uses the derive-deftly imported doc comment feature.
</content>
</entry>
<entry>
<title>tor-netdoc: derive_common: Break out field ordering check</title>
<updated>2025-12-10T11:05:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-12-08T12:43:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1656a020e0a3e26412eda0d4d1260378881549d8'/>
<id>urn:sha1:1656a020e0a3e26412eda0d4d1260378881549d8</id>
<content type='text'>
Code motion from NetdocParseable to NetdocEntireDeriveCommon.
</content>
</entry>
</feed>
