summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* tor-netdoc: Break out and expose parse_testcase_from_netdocIan Jackson2026-07-213-29/+78
|
* tor-netdoc: NetdocParseableFields::Accumulator must be DefaultIan Jackson2026-07-212-1/+2
| | | | | | The macro-generated code for `#[deftly(netdoc(flatten))]` relies on this. The Default impl is genereated by the derive, but a generic or handwritten `NetdocParseableFields` wouldn't work.
* tor-netdoc: Add a couple of calls to .void_unwrap()Ian Jackson2026-07-211-3/+5
| | | | | Otherwise our MSRV compiler prints a warning, that this was an unhandled Result.
* arti-relay: simplify tests by removing some `Arc`sSteven Engler2026-07-203-14/+10
|
* arti-relay: remove `Arc` from around `KeyMgr`Steven Engler2026-07-202-17/+12
| | | | Fixes a TODO.
* arti-relay: make `FullKeyView` generic over a `Borrow<KeyMgr>`Steven Engler2026-07-203-8/+19
| | | | Now it can be used with `KeyMgr` and `&KeyMgr`, not only `Arc<KeyMgr>`.
* Merge branch 'timebound-naming' into 'main'gabi-2502026-07-1635-151/+160
|\ | | | | | | | | tor-checkable: Rename Timebound to TimeBound and TimerangeBound to TimeRangeBound See merge request tpo/core/arti!4215
| * Apply deferred rustfmt churnIan Jackson2026-07-162-2/+2
| |
| * Use new TimeRangeBound name throughout the treeIan Jackson2026-07-1618-105/+105
| |
| * tor-checkable: Rename TimerangeBound to TimeRangeBoundIan Jackson2026-07-162-5/+10
| | | | | | | | For consistency with the TimeBound trait.
| * Use new TimeBound name throughout the treeIan Jackson2026-07-1627-46/+46
| |
| * tor-checkable: Rename Timebound to TimeBoundIan Jackson2026-07-162-3/+7
| | | | | | | | For consistency with TimeRangeBounds (currently TimerangeBounds).
* | Merge branch 'iter-join-doc' into 'main'gabi-2502026-07-161-0/+9
|\ \ | | | | | | | | | | | | tor-basic-utils: Improve docs for iter_join See merge request tpo/core/arti!4213
| * | tor-basic-utils: iter_join: Add a TODO re possible future API evolutionIan Jackson2026-07-161-0/+2
| | |
| * | tor-basic-utils: iter_join: Document relationship to Itertools::formatIan Jackson2026-07-161-0/+7
| |/
* | 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-162-14/+12
| |
* | Use "extend" for tor-netdoc FsMistrustErrorExtIan Jackson2026-07-162-7/+4
| |
* | tor-netdoc: Remove now-redundant bindingIan Jackson2026-07-161-2/+1
| |
* | Use "extend" for tor-netdoc lines StrExtIan Jackson2026-07-162-3/+6
| |
* | Use "extend" for tor-memquota ArcMemoryQuotaTrackerExtIan Jackson2026-07-163-4/+4
| |
* | Use "extend" for tor-config mistrust::BuilderExtIan Jackson2026-07-163-10/+6
| |
* | 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-162-5/+5
| |
* | Use "extend" for tor-basic-utils StrExtIan Jackson2026-07-161-4/+3
| |
* | Use "extend" for tor-async-utils PostageWatchSenderExtIan Jackson2026-07-162-21/+18
| |
* | Use "extend" for arti ResponseBuilder extension traitIan Jackson2026-07-162-13/+4
| |
* | Use "extend" for futures-copy ArcIoResultExtIan Jackson2026-07-162-5/+4
| |
* | Use "extend" for fs-mistrust's PathExtIan Jackson2026-07-163-10/+6
|/
* Merge branch 'remove-lint' into 'main'Jim Newsome2026-07-15112-160/+75
|\ | | | | | | | | | | | | 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-1572-72/+72
| |
| * lib.rs: remove stale commentJim Newsome2026-07-151-2/+0
| |
| * Removed unnecessary lintpryty262026-07-1581-83/+75
| | | | | | | | Removed unnecessary lint
* | 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-156-0/+140
| |
* | tor-netdoc: Expose ConsensusMethod's fieldIan Jackson2026-07-152-1/+3
| |
* | 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-153-0/+557
| | | | | | | | | | | | | | | | 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