<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/parse2/derive.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-07-16T15:47:50Z</updated>
<entry>
<title>Use new TimeRangeBound name throughout the tree</title>
<updated>2026-07-16T15:47:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-16T14:35:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=92c26c4c07be73c91890ed3d7d4e53a06f26d0a1'/>
<id>urn:sha1:92c26c4c07be73c91890ed3d7d4e53a06f26d0a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use new TimeBound name throughout the tree</title>
<updated>2026-07-16T15:47:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-16T14:32:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5f57903ab4a8c280acf8a5bec274c50d5f544fd6'/>
<id>urn:sha1:5f57903ab4a8c280acf8a5bec274c50d5f544fd6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: parse2 derive: allow setting deprecated fields</title>
<updated>2026-06-16T19:28:08Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T18:57:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=24e3f4c37d89a35de1e73553e10add5f1bc169af'/>
<id>urn:sha1:24e3f4c37d89a35de1e73553e10add5f1bc169af</id>
<content type='text'>
This makes it possible to derive from a struct with deprecated fields,
without triggering the warning.

This doesn't yet treat encoding as yet, because the only deprecated
field I encountered was `skip` which means the derived encoder never
mentions it.
</content>
</entry>
<entry>
<title>tor-netcoc: NetdocParseableUnverified derive: forbid NetdocParseable</title>
<updated>2026-06-10T14:42:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-10T10:54:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=27b73a305059a26cb88ca3490c8a174015f4c5cd'/>
<id>urn:sha1:27b73a305059a26cb88ca3490c8a174015f4c5cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: parse2: Add more docs about verification</title>
<updated>2026-06-10T14:42:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-10T10:56:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=31c16e2706411da246fcd60c1c692047cdf9c5eb'/>
<id>urn:sha1:31c16e2706411da246fcd60c1c692047cdf9c5eb</id>
<content type='text'>
Prompted by
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4070#note_3422636
</content>
</entry>
<entry>
<title>tor-netdoc: parse2: use TimeRangebound in example</title>
<updated>2026-06-10T14:42:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-10T10:55:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=985c9acdee7c473cb10182ef23e72a2e9f680093'/>
<id>urn:sha1:985c9acdee7c473cb10182ef23e72a2e9f680093</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: fix a doc formatting typo</title>
<updated>2026-06-03T13:57:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-02T12:52:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0207c69ca8375c3c564ee36c027e8c0502f16414'/>
<id>urn:sha1:0207c69ca8375c3c564ee36c027e8c0502f16414</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Add crate:: to docs xrefs to avoid broken links</title>
<updated>2026-06-02T12:00:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-02T10:52:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cfb9d75e051191b7c80308e690edfa2ec00cdbb7'/>
<id>urn:sha1:cfb9d75e051191b7c80308e690edfa2ec00cdbb7</id>
<content type='text'>
Apparently, it is only correct to write
   [`NetdocParseableUnverified`](derive_deftly_template_NetdocParseableUnverified),
*after* the definition of that template.  Before then, the macro isn't
in scope.

Worse, rustdoc just treats it as a filename and doesn't spot the link,
so you don't get any kind of warning.  I think this is an upstream bug,
  https://github.com/rust-lang/rust/issues/157304

I found rustdoc's behaviour capricious.  I don't intend to go through
the arti tree right now looking for similar patterns.  Instead let's
hope the upstream bug gets fixed, and in the meantime do this crate::
thing when we notice we need it.
</content>
</entry>
<entry>
<title>tor-netdoc: Rename NetdocUnverified trait to NetdocParseableUnverified</title>
<updated>2026-06-02T10:39:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-02T10:32:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9b014fc0c02be35576fde6cb927e7c9645b5f827'/>
<id>urn:sha1:9b014fc0c02be35576fde6cb927e7c9645b5f827</id>
<content type='text'>
The NetdocParseableUnverified derive macro implements this
trait (amongst other things).  Traits and derive macros should have
aligned names.

This is only used for parsing, so let's keep the "Parseable" part of
the name.

I don't think the effort of deprecated alias, for downstream
compatibility, is worth it, our compatibility policy notwithstanding.
</content>
</entry>
<entry>
<title>tor-netdoc: Fix two references to NetdocUnverified d-d template</title>
<updated>2026-06-02T10:37:43Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-02T10:30:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0cd7be8e3e77a278177850feb660a87f8e1482e4'/>
<id>urn:sha1:0cd7be8e3e77a278177850feb660a87f8e1482e4</id>
<content type='text'>
The trait is called NetdocUnverified, but the template is
NetdocParseableUnverified.  This fixes a dead docs link (which somehow
isn't spotted by rustdoc, but is instead taken to refer to a
nonexistent file).
</content>
</entry>
</feed>
