summaryrefslogtreecommitdiff
path: root/crates/tor-netdoc/src/parse2.rs
Commit message (Collapse)AuthorAgeFilesLines
* netdoc parse2: Fix Object handlingIan Jackson2025-09-291-0/+1
| | | | | | | | | | Use the standard multiplicity technique rather than the ad-hoc impl on Option. This allows us to support an ad-hoc parsing function for a field that's `Option`. Disentangle the `label` field attribute, which did both setting the label, and expecting a different parsing approach: replace it with `with`.
* tor-netdoc: parse2: Explicitly define "structural item"Ian Jackson2025-09-021-0/+7
|
* tor-netdoc: parse2: Provide flattening and NetdocParseableFieldsIan Jackson2025-09-021-1/+4
|
* tor-netdoc: parse2: More focused tests (success cases)Ian Jackson2025-08-261-0/+3
| | | | | The netstatus doc poc does test most of the functionality, but I want some tests of edge cases that that misses.
* tor-netdoc: Rerun cargo fmt after rebaseIan Jackson2025-08-141-1/+1
|
* tor-netdoc: parse2: Fix typo in "Naming conventions" docIan Jackson2025-08-141-1/+1
|
* tor-netdoc: Proof-of-concept demo of new parserIan Jackson2025-08-141-0/+2
| | | | This can parse and validate the signatures on a consensus.
* tor-netdoc: Introduce parse2, new parserIan Jackson2025-08-141-0/+163
This isn't used anywhere yet. We're going to demonstrate it, and test the demo, in a moment.