aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'extend-bis' into 'main'Jim Newsome2026-07-1628-140/+104
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Use "extend" for many extension traits Closes #476 See merge request tpo/core/arti!4214
| * | tor-rtcompat: Make RuntimeSubstExt methods provided methods (fmt)Ian Jackson2026-07-161-2/+1
| | |
| * | tor-rtcompat: Make RuntimeSubstExt methods provided methodsIan Jackson2026-07-161-20/+6
| | | | | | | | | | | | | | | This involves making Runtime a supertrait, but that's not even an API break since this trait is sealed anyway.
| * | Use "extend" for tor-rpcbase ObjectArcExtIan Jackson2026-07-163-14/+13
| | |
| * | Use "extend" for tor-netdoc FsMistrustErrorExtIan Jackson2026-07-163-7/+5
| | |
| * | tor-netdoc: Remove now-redundant bindingIan Jackson2026-07-161-2/+1
| | |
| * | Use "extend" for tor-netdoc lines StrExtIan Jackson2026-07-163-3/+7
| | |
| * | Use "extend" for tor-memquota ArcMemoryQuotaTrackerExtIan Jackson2026-07-164-4/+5
| | |
| * | Use "extend" for tor-config mistrust::BuilderExtIan Jackson2026-07-164-10/+7
| | |
| * | tor-basic-utils: RangeBoundsExt: shorten blanket implIan Jackson2026-07-161-6/+1
| | |
| * | tor-basic-utils: RangeBoundsExt: make method a provided methodIan Jackson2026-07-161-11/+7
| | |
| * | tor-basic-utils: RangeBoundsExt: prepare to make method providedIan Jackson2026-07-162-1/+2
| | |
| * | tor-basic-utils: SinkExt: Make with_fn a provided method (fmt)Ian Jackson2026-07-161-5/+1
| | |
| * | tor-basic-utils: SinkExt: Make with_fn a provided methodIan Jackson2026-07-161-11/+6
| | | | | | | | | | | | This allows us to avoid recapitulating the signature.
| * | Use "extend" for tor-basic-utils PathExtIan Jackson2026-07-163-5/+6
| | |
| * | Use "extend" for tor-basic-utils StrExtIan Jackson2026-07-161-4/+3
| | |
| * | Use "extend" for tor-async-utils PostageWatchSenderExtIan Jackson2026-07-163-21/+19
| | |
| * | Use "extend" for arti ResponseBuilder extension traitIan Jackson2026-07-163-13/+5
| | |
| * | Use "extend" for futures-copy ArcIoResultExtIan Jackson2026-07-163-5/+5
| | |
| * | Use "extend" for fs-mistrust's PathExtIan Jackson2026-07-164-10/+18
|/ /
* | Merge branch 'remove-lint' into 'main'Jim Newsome2026-07-15114-162/+77
|\ \ | | | | | | | | | | | | | | | | | | Removed unnecessary lint Closes #2556 See merge request tpo/core/arti!4210
| * | Remove now-unneeded allow(clippy::cognitive_complexity)Jim Newsome2026-07-1543-75/+0
| | |
| * | add_warning: add reference to arti#2556Jim Newsome2026-07-1574-74/+74
| | |
| * | lib.rs: remove stale commentJim Newsome2026-07-151-2/+0
| | |
| * | Removed unnecessary lintpryty262026-07-1583-85/+77
| | | | | | | | | | | | Removed unnecessary lint
* | | Merge branch 'consensus-method-type' into 'main'Ian Jackson2026-07-159-1/+159
|\ \ \ | | | | | | | | | | | | | | | | dirauth: Supported consensus method type See merge request tpo/core/arti!4200
| * | | tor-dirauth: Move supported_well_formed test case to consensus.rsIan Jackson2026-07-152-10/+29
| | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4200#note_3433115
| * | | tor-dirauth: Add spec link to consensus methods listIan Jackson2026-07-151-0/+6
| | | | | | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4200#note_3433106
| * | | tor-dirauth: Replace map_ranges with local import and value wrappingIan Jackson2026-07-152-20/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4200#note_3433105 Suggested-by: Jim Newsome <[email protected]>
| * | | tor-dirauth: Introduce SupportedConsensusMethod newtypeIan Jackson2026-07-157-0/+142
| | | |
| * | | tor-netdoc: Expose ConsensusMethod's fieldIan Jackson2026-07-152-1/+3
|/ / /
* | | Merge branch 'ip-summary-precise' into 'main'Ian Jackson2026-07-155-0/+601
|\ \ \ | | | | | | | | | | | | | | | | Implement precise port summaries See merge request tpo/core/arti!4198
| * | | tor-netdoc: document port summaries in semver.mdIan Jackson2026-07-151-0/+1
| | | |
| * | | tor-netdoc: Test that test helper can fail as expectedIan Jackson2026-07-151-6/+39
| | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4198#note_3434449
| * | | tor-netdoc: Fix typos in docsIan Jackson2026-07-151-2/+2
| | | |
| * | | tor-netdoc: Implement precise port summariesIan Jackson2026-07-154-0/+567
|/ / / | | | | | | | | | | | | | | | | | | | | | For calculating `ipv6-policy` in routerdescs. Also implement for v4 for the benefit of future tests of approximate port policy summaries, for possible future protocol change, and for completeness.
* | | Merge branch 'da-relayid' into 'main'Ian Jackson2026-07-151-145/+119
|\ \ \ | | | | | | | | | | | | | | | | tor-linkspec: Use deftly to reduce copypasta in RelayId and RelayIdRef See merge request tpo/core/arti!4196
| * | | tor-linkspec: RelayIdType: Clarify display vs display_idIan Jackson2026-07-151-4/+4
| | | | | | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4196#note_3433090
| * | | tor-linkspec: Un-explode and tidy some derive listsIan Jackson2026-07-011-17/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rustfmt likes this IMO-awful layout for derives. We can force it to let us manually break the line, if we use //, and then it stays put. No functional change.
| * | | tor-linkspec: Sort out indentation in new macro templateIan Jackson2026-07-011-111/+111
| | | | | | | | | | | | | | | | Pure whitespace change. Review with, eg, git diff -w.
| * | | tor-linkspec: PartialEq: use deftly, not an ad-hoc macro_rulesIan Jackson2026-07-011-10/+2
| | | | | | | | | | | | | | | | This gets rid of the matcher, and the need to invoke it.
| * | | tor-linkspec: PartialEq: change variable namesIan Jackson2026-07-011-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change $var to $vname, and $type to $IDENTITY. These are the names used in the deftly template. This will make the next commit almost a no-op.
| * | | tor-linkspec: PartialEq: simplify PartialEq<FooIdentity> for RelayIdIan Jackson2026-07-011-1/+1
| | | | | | | | | | | | | | | | | | | | We can just refer to the PartialEq<FooIdentity> for RelayIdRef, which is macro-generated just above, replacing this copy-pasted matches.
| * | | tor-linkspec: Use deftly for RelayIdId and RelayIdRef implsIan Jackson2026-07-011-44/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes quite a lot of in-detail copy-paste. The lone `}` is being moved, bringing the code we're changing within the scope of the template.
| * | | tor-linkspec: Minimal deftly for RelayIdId and RelayIdRefIan Jackson2026-07-011-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Derive the two types. We end up moving the display strings from direct attributes directed to derive_more, to deftly attributes. Indentation is rather odd now: we ought to indent the macro body. We'll sort that out at the end. No functional change.
| * | | tor-linkspec: Move PartialEq implsIan Jackson2026-07-011-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Pure code motion. We want to move this to where a bigger macro is going to be, so that it can be part of it. Code motion only, review with --color-moved.
* | | | Merge branch 'nd' into 'main'Ian Jackson2026-07-1522-522/+778
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-netdoc: Stabilise votes and encoding of authcerts (+ more tests) See merge request tpo/core/arti!4189
| * | | | tor-netdoc: Stabilise votes and encoding of authcerts (formatting)Ian Jackson2026-07-153-13/+8
| | | | |
| * | | | tor-netdoc: Stabilise votes and encoding of authcertsIan Jackson2026-07-159-37/+17
| | | | |
| * | | | tor-netdoc: Remove a now-unnecessary allowIan Jackson2026-07-151-1/+0
| | | | |