summaryrefslogtreecommitdiff
path: root/crates/tor-netdoc/semver.md
Commit message (Collapse)AuthorAgeFilesLines
* tor-netdoc: Introduce KeywordOrStringIan Jackson2026-04-291-0/+1
| | | | | We're going to use this for `directory-signature`'s hash algorithm, which the current code always treats as a string!
* tor-netdoc: Improvement to Unknown API: make it exhaustiveIan Jackson2026-04-291-0/+1
|
* tor-netdoc: Improvement to Unknown API: make disregarding more explicitIan Jackson2026-04-291-0/+2
| | | | | Make the operation of disregarding the possible existence of already-discarded information, more explicit.
* tor-netdoc: Move FromStr and Display from NormalItemArgument to implsIan Jackson2026-04-291-0/+1
| | | | | | | | | | | This allows implementing NormalItemArgument for types that can only be parsed, or only displayed - or other combinations. I noticed this restriction while inventing a type I later decided was unnecessary. I still think it's a good change. There is no practical impact elsewhere, since in practice downstream code implements NormalItemArgument rather than relying on it.
* tor-netdoc: semver.md: remove a trailing spaceIan Jackson2026-04-271-1/+1
|
* tor-netdoc: consensus authority section: document addition in semver.mdIan Jackson2026-04-271-0/+1
|
* tor-netdoc: VoteAuthoritySection: derive ConstructorIan Jackson2026-04-271-1/+1
|
* tor-netdoc: VoteAuthorityEntry: new struct (just a skeleton for now)Ian Jackson2026-04-271-0/+1
|
* tor-netdoc: ConsensusAuthorityEntry: document changes in semver.mdIan Jackson2026-04-271-0/+3
|
* tor-netdoc: DirSource: document changes in semver.mdIan Jackson2026-04-271-1/+3
|
* tor-netdoc: Introduce `EmbeddedCert`Ian Jackson2026-04-271-0/+1
| | | | Fixes #2485.
* tor-netdoc: Introduce RetainedOrderVec parse/encode typeIan Jackson2026-04-231-0/+1
|
* tor-netdoc: impl conversions from tor-checkable errors to VerifyFailedIan Jackson2026-04-231-0/+1
|
* tor-netdoc: impl ItemArgumet for ed25519::SignatureIan Jackson2026-04-231-0/+1
|
* tor-netdoc: Add RouterDescSignatures typeClara Engler2026-04-231-0/+1
| | | | | This commit implements the RouterDescSignatures type that carries the signatures for the yet to be derived RouterDescUnverified.
* tor-netdoc: Add RouterSigEd25519 typeClara Engler2026-04-231-0/+1
| | | | | This commit adds RouterSigEd25519 as a type to misc.rs for use in router descriptor signatures.
* tor-netdoc: Add RouterDescSignature typeClara Engler2026-04-231-0/+1
| | | | | | This commit adds RouterDescSignature to types, which implements SignatureItemParseable manually in order to also include the Ed25519 signature.
* tor-netdoc: Add RouterHashAccuClara Engler2026-04-231-0/+1
| | | | | | This commit adds a hash accumulator for router descriptor signature hashes. We will need this because router descriptors have overlapping signatures.
* tor-netdoc: pub mod routerdescClara Engler2026-04-221-4/+4
| | | | | | | This commit replaces `pub use routerdesc::*` with `pub mod routerdesc` alongside making the required changes in types.rs to not directly prelude these types but to introduce them in their own module, as that is the primary advantage of having these types there.
* tor-netdoc: ItemArgumentParseable for RelayPlatformClara Engler2026-04-221-0/+1
| | | | | This commit implements ItemArgumentParseable for RelayPlatform which we will need in the parse2 version of RouterDesc eventually.
* tor-netdoc: Public SpFingerprintClara Engler2026-04-221-0/+1
| | | | | | | | We will need this type in public fields of the router descriptor data type at one point, most notably for the `fingerprint` item. No need to update semver.md because this type is, for whatever reason, already contained there (in main)?
* tor-netdoc: NetdocParseableFields for AddrPolicyClara Engler2026-04-221-0/+1
| | | | | | This commit implements NetdocParseableFields for AddrPolicy, which will be required, because this field accumulates exit policies in a firewall like order, making the use of it necessary.
* tor-netdoc: NormalItemArgument for AddrPortPatternClara Engler2026-04-221-0/+1
| | | | | This commit implements NormalItemArgument for AddrPortPattern because we will need it later for an accumulator.
* tor-netdoc: Derive PartialEq,Eq for addrpolicy.rsClara Engler2026-04-221-0/+2
| | | | | This commit derives PartialEq and Eq for a few types in addrpolicy.rs, as we will need these for a few unit tests later on.
* tor-netdoc: Add dedup() to RelayFamilyIdsClara Engler2026-04-221-0/+1
| | | | | We will need this later for outputting RelayFamilyIds in a fashion compatible with the current API.
* tor-netdoc: Add sort() to RelayFamilyIdsClara Engler2026-04-221-0/+1
| | | | | We will need this later for outputting RelayFamilyIds in a fashion compatible with the current API.
* tor-netdoc: Add ExtraInfoDigestsClara Engler2026-04-221-0/+1
| | | | | | This commit adds the ExtraInfoDigests structure storing the, if present, mandatory SHA-1 hash and optional SHA-256 hash of the extra-info document associated with the router descriptor it is referenced from.
* tor-netdoc: Add RouterDescIntroItemClara Engler2026-04-221-0/+1
| | | | | | | This commit adds RouterDescIntroItem which will serve as the introduction item for router descriptors, that is, a line with the keyword "router" followed by the nickname, the IPv4 address, and a few ports.
* tor-netdoc: Eq for NicknameClara Engler2026-04-221-0/+1
| | | | | This derives Eq for Nickname because we will need it for unit tests that will be added later on.
* tor-netdoc: Add OverloadGeneral typeClara Engler2026-04-221-0/+2
| | | | | | This type comes from the specification and indicates overload information about a relay. We will use it in router descriptors at one point, hence why we are adding it already.
* tor-netdoc: Add NumericBooleanClara Engler2026-04-221-0/+1
| | | | | | | | | | | | | | This commit adds a new type, NumericBoolean, which implements NormalItemArgument in order to be parseable with parse2. It works very simple, namely it can be used to decode/encode a boolean as a `0` (false) or `1` (true) which is found in a few places around tor-netdoc. The reason why this is its own type instead of implementing NormalItemValue for the bool primitive is, that booleans are special numerical types and to be future-proof against other oddities, a separate wrapper type makes most sense.
* tor-netdoc: ns Premable: add missing field known_flagsIan Jackson2026-04-211-0/+1
|
* tor-netdoc: DocRelayFlags: add convenience constructorIan Jackson2026-04-211-0/+1
|
* tor-netdoc: ns Preamble: derive NetdocEncodableFieldsIan Jackson2026-04-211-0/+1
|
* tor-netdoc: ns Preamble: Use ConstructorIan Jackson2026-04-211-0/+1
|
* tor-netdoc: DocRelayFlags: rename VoteRepr to NoImplicitReprIan Jackson2026-04-211-0/+1
|
* tor-netdoc: impl NetdocEncodableFields for ProtoStatusesIan Jackson2026-04-211-0/+1
| | | | We don't need the helper struct for this.
* tor-netdoc: impl ItemValueEncodable for tor_protover::ProtocolsIan Jackson2026-04-211-0/+1
|
* tor-netdoc: impl ItemValueEncodable for NetParams<i32>Ian Jackson2026-04-211-0/+1
| | | | | | Start a new encode_impls module. The pub(super) will be used in a moment.
* tor-netdoc: ns Lifetime: derive NetdocEncodableFieldsIan Jackson2026-04-211-0/+1
|
* tor-netdoc: ns Lifetime: Use ConstructorIan Jackson2026-04-211-0/+1
|
* tor-netdoc: ConsensusMethods: derive ItemValueEncodableIan Jackson2026-04-211-0/+1
|
* tor-netdoc: Fix type of NotPresent items in ns PreambleIan Jackson2026-04-211-0/+1
|
* tor-netdoc: Implement encoding traits for Arc<T>Ian Jackson2026-04-211-0/+1
|
* tor-netdoc: Support `#[deftly(netdoc(skip))]` in itemsIan Jackson2026-04-201-0/+1
| | | | Ie for "arguments" that don't actually appear.
* tor-netdoc: Make Nickname have its own parsing error typeIan Jackson2026-04-201-0/+1
| | | | | | | | This will let us use it in more places, more sensibly. Sadly it means a lot of syntactic vinegar at many of the call sites in the old parser, which has very janky ideas about how errors should work.
* tor-netdoc: semver.md for InternetHost and HostnameIan Jackson2026-04-201-0/+1
|
* tor-netdoc: Fix slip in semver.mdIan Jackson2026-04-141-1/+1
|
* tor-netdoc: Use Transparent and derive Hash for RsaIdentity wrappersIan Jackson2026-04-141-0/+1
|
* tor-netdoc: Use Transparent for SystemTime wrappersIan Jackson2026-04-141-0/+1
|