summaryrefslogtreecommitdiff
path: root/crates/tor-netdoc/src/parse2
Commit message (Collapse)AuthorAgeFilesLines
* tor-netdoc: parse2: multiplicity: Remove now-obsolete trait itemsIan Jackson2025-08-261-12/+0
|
* tor-netdoc: parse2: Know that we always accumulate into Option<Field>Ian Jackson2025-08-262-2/+2
|
* tor-netdoc: parse2: Always accumulate into Option<Field> (fmt)Ian Jackson2025-08-261-1/+5
|
* tor-netdoc: parse2: Always accumulate into Option<Field>Ian Jackson2025-08-261-13/+22
|
* tor-netdoc: parse2: Break out F_EFFECTIVE_TYPEIan Jackson2025-08-261-7/+13
| | | | We're going to want to reuse this.
* tor-netdoc: parse2: Use selector_ rather than open-codingIan Jackson2025-08-261-1/+1
| | | | We're going to make this depend on $ftype differently.
* tor-netdoc: parse2: Report subdoc intro item keyword for missing itemIan Jackson2025-08-263-4/+19
| | | | This corrects the error message.
* tor-netdoc: parse2: More focused tests (error cases)Ian Jackson2025-08-261-0/+84
|
* tor-netdoc: parse2: More focused tests (success cases)Ian Jackson2025-08-261-0/+179
| | | | | The netstatus doc poc does test most of the functionality, but I want some tests of edge cases that that misses.
* tor-netdoc: parse2: Fix doctype_for_errorIan Jackson2025-08-261-3/+4
| | | | Actually report the intro item, as the docs state.
* tor-netdoc: Rerun cargo fmt after rebaseIan Jackson2025-08-141-2/+2
|
* tgr-netdoc: Tests of parse2Ian Jackson2025-08-142-0/+93
| | | | We parse and verify some network documents from testdata2.
* tor-netdoc: Proof-of-concept demo of new parserIan Jackson2025-08-145-0/+859
| | | | This can parse and validate the signatures on a consensus.
* tor-netdoc: Introduce parse2, new parserIan Jackson2025-08-1411-0/+2132
This isn't used anywhere yet. We're going to demonstrate it, and test the demo, in a moment.