aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-netdoc/src/doc.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-netdoc: Initialize extra-info moduleClara Engler2026-08-051-0/+2
| | | | | | | | | | | This commit initializes the doc::extra_info module in tor-netdoc, which is still marked as incomplete and will be extended in the future. Right now, it is very barebones by only supporting the introduction item as well as the bare minimum required for verification. It also adds a simple unit test, which iterates over the available test data, parses and verifies it.
* tor-netdoc: Un-gate "routerdesc" cargo featureIan Jackson2026-04-281-12/+0
| | | | As per #2492.
* tor-netdoc: Add TODO wrt double definitionClara Engler2026-03-181-0/+1
|
* tor-netdoc: Properly export ExtraInfoDigestClara Engler2026-03-121-0/+3
|
* netdoc: Remove protocol interning.Nick Mathewson2025-12-031-8/+0
| | | | (It's now done in tor_protover.)
* Move intern from tor-netdir to tor-basic-utils and make it pubNick Mathewson2025-12-031-1/+1
|
* tor-netdoc: impl parse2 traits for protoversIan Jackson2025-10-151-1/+1
|
* tor-netdoc: varieties: Rename macro definition moduleIan Jackson2025-08-181-1/+1
|
* tor-netdoc: Rename "species" to "variety"Ian Jackson2025-08-181-1/+1
|
* tor-netdoc: Introduce new "species" macrologyIan Jackson2025-08-181-0/+3
| | | | | This will let us deduplicate a fair amount of code, and also will let us support votes as well as ns and md consensuses.
* Rename onion-* cargo features to hs-* in tor-* cratesIan Jackson2023-02-281-1/+1
| | | | Fixes #756
* netdoc: Outline some basic types for encoding HsDescs.Nick Mathewson2023-01-061-0/+2
|
* Canonicalize and intern protover lines on descriptorsNick Mathewson2022-03-111-0/+8
| | | | | | | | This should save around 1MB per consensus, since every relay has a 'protocols' lines, but there are only a few distinct possibilities for such a line. Closes #385.
* tor-netdoc: Put the "routerdesc" document type behind a feature.Nick Mathewson2021-11-121-0/+9
| | | | | | | | | | Nothing in arti currently uses this document type. Eventually it will be useful for relays and for bridge clients. I've left the "SHA1 digest of a router descriptor" type available unconditinoally, however, since it does get used in a few places. Part of #125.
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+35
This will cause some pain for now, but now is really the best time to do this kind of thing.