| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tor-netdoc: recommended versions: new {client,server}-versions type | Ian Jackson | 2026-06-11 | 1 | -1/+4 |
| | | | | | | | | | | | | This is a single comma-separated argument, with absence of the item being the same as absence of the arguemnt. The previous code had `Vec<String>` which in parse2 would mean zero or more occurrences of the item, with one argument each. The old parser would split the whole RHS of the arguments. It still does right now - we'll fix that in a moment. | ||||
| * | tor-netdoc: ConsensusBuilder: break out mk_versions | Ian Jackson | 2026-06-11 | 1 | -2/+4 |
| | | | | | This is going to get more complicated, so let's make a closure for it. | ||||
| * | maint: Run maint/add_warning to deny string slices | Clara Engler | 2026-06-09 | 1 | -0/+1 |
| | | | | | | | | | | | | | This commit executes maint/add_warning with the just added change to deny string slices except in tests. I recommend auditing this by checking out the previous commit followed by running the script yourself and then verifying that the diff is identical to this commit. This commit makes cargo clippy fail. We will add exceptions in the next commit. | ||||
| * | tor-netdoc: ConsensusFooterFields: Constructor, parse, encode | Ian Jackson | 2026-05-27 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: ConsensusFooterFields: Rename weights field to bandwidth_weights | Ian Jackson | 2026-05-27 | 1 | -2/+2 |
| | | | | | This matches the spec. | ||||
| * | tor-netdoc: Rename Footer to ConsensusFooterFields | Ian Jackson | 2026-05-27 | 1 | -2/+2 |
| | | | | | | | | | | | | This will allow us to include this, conditionally, in the new per-variety footer types for consensuses, without too much disruption to the existing code. We don't leave a compatibility alias because we're going to want a Footer in each_variety.rs which is the actual sub-document. This old struct isn't suitable because it doesn't have the intro item and is just for consensuses. | ||||
| * | tor-netdoc: SharedRandStatuses: Use proper Constructor non-exhaustive pattern | Ian Jackson | 2026-05-13 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: Break out SharedRandStatuses, and remove it from votes | Ian Jackson | 2026-05-13 | 1 | -4/+8 |
| | | |||||
| * | tor-netdoc: ConsensusAuthorityEntry: derive Constructor | Ian Jackson | 2026-04-27 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: ConsensusAuthorityEntry: fix type of vote_digest field | Ian Jackson | 2026-04-27 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: ConsensusAuthorityEntry: fix type of contact field | Ian Jackson | 2026-04-27 | 1 | -1/+2 |
| | | |||||
| * | tor-netdoc: ConsensusAuthorityEntry: rename from ConsensusVoterInfo (2) | Ian Jackson | 2026-04-27 | 1 | -5/+5 |
| | | | | | Deprecate the compatibility alias. | ||||
| * | tor-netdoc: DirSource: derive Constructor | Ian Jackson | 2026-04-27 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: DirSource: add missing hostname field | Ian Jackson | 2026-04-27 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: DirSource: fix type of identity field | Ian Jackson | 2026-04-27 | 1 | -1/+2 |
| | | |||||
| * | tor-netdoc: DirSource: fix type of nickname field | Ian Jackson | 2026-04-27 | 1 | -1/+2 |
| | | |||||
| * | tor-netdoc: ns Premable: add missing field known_flags | Ian Jackson | 2026-04-21 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: ns Preamble: Use Constructor | Ian Jackson | 2026-04-21 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: Fix type of NotPresent items in ns Preamble | Ian Jackson | 2026-04-21 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: Port to web-time-compat | Nick Mathewson | 2026-03-26 | 1 | -2/+2 |
| | | |||||
| * | tor-netdoc: Preamble: Parse published in votes | Ian Jackson | 2025-12-18 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: Preamble: Parse consensus-methods in votes | Ian Jackson | 2025-12-18 | 1 | -0/+1 |
| | | |||||
| * | RelayFlags: Use RelayFlag enum variant names everywhere | Ian Jackson | 2025-11-18 | 1 | -2/+2 |
| | | | | | | | | Abolish the constants with the transitional names. This also abolishes the controversial name `H_S_DIR`, which Rust case transformation rules generated from `HSDir`. | ||||
| * | RelayFlags: Use the singular RelayFlag for naming individual flags | Ian Jackson | 2025-11-18 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | We're going to separate RelayFlag from RelayFlags. We could continue to provide a bunch of constant values for RelayFlags, for each individual type, but that would involve an ad-hoc derive, and would still be a bit of an unusual API. Instead, we're going to make ``RelayFlag` a normal enum. In this commit, we change everyone to refer to it by its singular name. Hopefully separating out this bulk change makes both this, and the core commit, easier to review. | ||||
| * | tor-netdoc: Introduce DocRelayFlags for relay flags in a network document | Ian Jackson | 2025-11-18 | 1 | -1/+1 |
| | | | | | This will have space for unknown flags. | ||||
| * | tor-netdoc: Rename RelayFlags elements for regularity vs spec | Ian Jackson | 2025-11-18 | 1 | -1/+1 |
| | | | | | | Add underscores so that the spec keywords and the flag constants correspond (according to `paste`'s case-changing rules). | ||||
| * | Fix name of clippy lint to unchecked_time_subtraction (2) | Ian Jackson | 2025-11-06 | 1 | -1/+1 |
| | | | | | Run maint/add_warning | ||||
| * | tor-netdoc: Preamble: rename relay_version field to server_version | Ian Jackson | 2025-10-22 | 1 | -5/+5 |
| | | | | | This makes it match the protocol and the spec. | ||||
| * | tor-netdoc: netstatus: Preamble: rename shared rand fields to match doc | Ian Jackson | 2025-10-22 | 1 | -10/+10 |
| | | | | | | We should use the same name everywhere, even if the name in the spec is clumsy (as it is here). | ||||
| * | tor-netdoc: Move ConsensusFlavor into Consensus struct | Ian Jackson | 2025-10-22 | 1 | -2/+2 |
| | | | | | | | We're going to want to apply the parse2 derive to Preamble, but this field is anomalous. Rather than trying to make it regular, simply move it to the old-parser-specific Consensus struct. | ||||
| * | tor-netdoc: Rename consensus Header to Preamble | Ian Jackson | 2025-10-22 | 1 | -15/+15 |
| | | | | | | There is no such thing as the "header" according to the spec. We mean the preamble. | ||||
| * | tor-netdoc: Change type of timestamp in SharedRandStatus | Ian Jackson | 2025-10-21 | 1 | -2/+2 |
| | | |||||
| * | tor-netdoc: Correct the headings of two modules | Ian Jackson | 2025-08-26 | 1 | -1/+1 |
| | | | | | | each_variety includes votes, so is "network status documents"; each_flavor is just consensuses. | ||||
| * | tor-netdoc: Move all each_variety code to each_flavor | Ian Jackson | 2025-08-26 | 2 | -461/+461 |
| | | | | | | | | The amount we're going to be able to reuse for votes is less than we might hope. This commit is just code motion. | ||||
| * | tor-netdoc: ns variety: Provide for flavour-only items | Ian Jackson | 2025-08-26 | 2 | -3/+14 |
| | | |||||
| * | tor-netdoc: Fix comments to refer to items | Ian Jackson | 2025-08-26 | 1 | -1/+1 |
| | | | | | It's not just types that can vary by variety. | ||||
| * | tor-netdoc: Fix some out-of-date comments | Ian Jackson | 2025-08-26 | 1 | -1/+1 |
| | | | | | We rename the files from per_ to each_. | ||||
| * | tor-netdoc: Turn ConsensusHeader into VARIETY::Header | Ian Jackson | 2025-08-26 | 1 | -14/+14 |
| | | | | | It's going to need to vary when we do votes. | ||||
| * | tor-netdoc: Combine ConsensusRouterStatus and GenericRouterStatus | Ian Jackson | 2025-08-26 | 1 | -3/+3 |
| | | | | | Now we only need one type. | ||||
| * | tor-netdoc: Remove generics from Consensus and its contents | Ian Jackson | 2025-08-26 | 1 | -9/+10 |
| | | |||||
| * | tor-netdoc: netstatus: Move everything variety-specific | Ian Jackson | 2025-08-26 | 3 | -2/+459 |
| | | | | | | | | | | This is much code motion. This splits many types into two. For example, `Conensus` is now`plain::Consensus<RS>` and `md::Consensus<RS>`. We're going to get rid of the generics later in this branch. | ||||
| * | tor-netdoc: Prepare variety modules for network status documents | Ian Jackson | 2025-08-26 | 3 | -0/+34 |
| This is empty modules and scaffolding. | |||||
