<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/test2.rs, branch arti-v2.4.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.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-04-21T08:25:13Z</updated>
<entry>
<title>Merge branch 'parse2-more-debug' into 'main'</title>
<updated>2026-04-21T08:25:13Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-04-21T08:25:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8514ad24b51357920598f1cd2bb07372a8cb07f0'/>
<id>urn:sha1:8514ad24b51357920598f1cd2bb07372a8cb07f0</id>
<content type='text'>
Add debugging support to ItemValueParseable derive

See merge request tpo/core/arti!3881</content>
</entry>
<entry>
<title>tor-netdoc: Support `#[deftly(netdoc(skip))]` in items</title>
<updated>2026-04-20T18:07:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-15T10:47:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=82206aeed4f0e10818e140964afa0680f7416a2a'/>
<id>urn:sha1:82206aeed4f0e10818e140964afa0680f7416a2a</id>
<content type='text'>
Ie for "arguments" that don't actually appear.
</content>
</entry>
<entry>
<title>tor-netdoc: Add debugging to ItemValueParseable, demo in test</title>
<updated>2026-04-13T18:38:12Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-13T18:04:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e46c5c4579456fd4441d53eb411f108952ba3271'/>
<id>urn:sha1:e46c5c4579456fd4441d53eb411f108952ba3271</id>
<content type='text'>
With

  cargo test --all-features -p tor-netdoc -- --no-capture test2

the output now contains, amongst many other things:

  netdoc TestItem parse: item start, "test-item", "N", Some("TEST OBJECT")
  netdoc TestItem parse: field needed, normal, args=1, "N"
  netdoc TestItem parse: field optional, normal, args=Option&lt;_&gt;, ""
  netdoc TestItem parse: field rest, normal, args=Vec&lt;_&gt;, ""
  netdoc TestItem parse: field object, object, object=1, Some(("TEST OBJECT", Ok(5)))
  netdoc TestItem parse: item complete Ok
</content>
</entry>
<entry>
<title>tor-netdoc: parse2/encode derive: Use unquoted attributes at call sites</title>
<updated>2026-04-07T16:05:05Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-02T09:14:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f39e77b21176da250d269b0ca6ef73da46548dc6'/>
<id>urn:sha1:f39e77b21176da250d269b0ca6ef73da46548dc6</id>
<content type='text'>
</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: test2: Make t_ok (which takes no boundaries) take &amp;D not &amp;[D]</title>
<updated>2025-12-18T17:30:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-12-17T16:18:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=39e1c2de26ce626bdd84550aaefb43daa8782a34'/>
<id>urn:sha1:39e1c2de26ce626bdd84550aaefb43daa8782a34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: test2: Test parse_netdoc_multiple_with_offsets</title>
<updated>2025-12-18T17:30:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-12-17T16:16:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f5de3335e79c1b23da7b62d8074df2704bcfa2ec'/>
<id>urn:sha1:f5de3335e79c1b23da7b62d8074df2704bcfa2ec</id>
<content type='text'>
 * Make a fancy version of t_ok, t_ok_multi, that takes the expected boundary byte offsets.
 * t_ok is now just for single-document files and is implemented in terms of t_ok_multi.
 * Use t_ok_multi for the one test case with multiple documents.
</content>
</entry>
<entry>
<title>tor-netdoc: test2: Add a test file with more than one document</title>
<updated>2025-12-18T17:28:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-12-17T16:04:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3ec2461f501f6ea21279acfa4d2fa87649eb785a'/>
<id>urn:sha1:3ec2461f501f6ea21279acfa4d2fa87649eb785a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: rustfmt</title>
<updated>2025-12-18T16:44:55Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-12-16T16:22:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=653d6b74784ee5ab33f065f87aeea9dbf1157474'/>
<id>urn:sha1:653d6b74784ee5ab33f065f87aeea9dbf1157474</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Use $P for prelude in one place</title>
<updated>2025-12-18T16:44:55Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-12-10T14:38:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5ec68ca2391068f90683fc406fb6f38bd4074050'/>
<id>urn:sha1:5ec68ca2391068f90683fc406fb6f38bd4074050</id>
<content type='text'>
This was missed, apparently.
</content>
</entry>
</feed>
