aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-dirauth
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge branch 'da-microdesc-calc' into 'main'"Clara Engler2026-08-047-603/+11
| | | This reverts merge request !4264
* tor-dirauth: tests: Unit test for microdescriptor calculation coalesceIan Jackson2026-08-041-0/+52
|
* tor-dirauth: tests: Provide SupportedConsensusMethod::new_uncheckedIan Jackson2026-08-041-0/+8
|
* tor-dirauth: tests: Test error handling of all-supported-microdescsIan Jackson2026-08-041-1/+25
|
* tor-dirauth: tests: Test computation of all microdescriptorsIan Jackson2026-08-041-0/+20
|
* tor-dirauth: Function for computing all supported microdescriptorsIan Jackson2026-08-042-1/+87
|
* tor-dirauth: tests: Test microdescriptor calculation against live dataIan Jackson2026-08-043-0/+68
|
* tor-dirauth: Implement main microdescriptor calculation functionIan Jackson2026-08-045-4/+58
| | | | This is actually quite simple now.
* tor-dirauth: Use TrackedConsensusMethod in summarise_policy_v4_approximateIan Jackson2026-08-041-3/+7
| | | | | It doesn't actually use the value, but its call site is going to have one of these, not a SupportedConsensusMethod.
* tor-dirauth: Introduce new TrackedConsensusMethod typeIan Jackson2026-08-044-3/+278
|
* tor-dirauth: Rework tor-netdoc dependencyIan Jackson2026-08-041-1/+2
| | | | | | | No longer request "experimental" - we don't need it. We do need "testing" but only for our own tests, so that can go in dev-dependencies. Enable retain-unknown, which we'll need.
* maint: remove semver.md filesSteven Engler2026-08-031-1/+0
|
* Bump versions for tor-* and arti-* cratesSteven Engler2026-08-031-3/+3
| | | | | | | ```bash readarray -t bump < <(maint/list-crates | grep -P '^tor-|^arti-') for crate in "${bump[@]}"; do cargo set-version --bump minor -p "${crate}"; done ```
* maint: ran 'cargo sort' in arti-dirauth and tor-dirauthSteven Engler2026-08-031-4/+4
| | | | | | | | | | I'm not actually sure what I did here. I was getting a lot of confusing results from 'cargo sort' and 'maint/cargo-sort', so I ran a bunch of commands until 'maint/cargo-sort' was okay. ('maint/cargo-sort' still shows some errors, but not in arti-dirauth anymore.) But as long as the 'maint/cargo-sort' in CI is okay with the changes, then I think it's fine.
* maint: ran fixup-featuresSteven Engler2026-08-031-1/+1
|
* Merge branch 'testdata-export' into 'main'Ian Jackson2026-07-271-1/+1
|\ | | | | | | | | tor-netdoc testdata-live: Export for the benefit of other crates See merge request tpo/core/arti!4229
| * Require derive-deftly 1.11.4Ian Jackson2026-07-231-1/+1
| | | | | | | | | | | | | | | | | | We're about to *use* the fix that was in 1.11.4. We already updated the lockfile in !4228, so this is just Cargo.toml changes (which will prevent the minimal-versions tests failing when we change the code to rely on the fix). git-grep -l '^derive-deftly' |xargs perl -i~ -pe 's{\b\Q1.11.3\E\b}{1.11.4}g'
* | Move supported consensus methods iteration to tor-dirauth from arti-dirauthIan Jackson2026-07-234-0/+35
|/ | | | Now we provide SupportedConsensusMethod::iter_all().
* Much formatting churn for 2024 editionIan Jackson2026-07-221-1/+1
|
* Bump edition of tor-dirserver and tor-dirauthIan Jackson2026-07-221-1/+1
| | | | | Apparently these crate creations were outstanding when the workspace's edition was increased.
* tor-dirauth: Add comment about partially private rejectsIan Jackson2026-07-211-0/+3
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4212#note_3436989
* tor-dirauth: Add comment about port 0Ian Jackson2026-07-211-0/+2
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4212#note_3436987
* tor-dirauth: Fix comment typoIan Jackson2026-07-211-1/+1
|
* tor-dirauth: Fix doc urlIan Jackson2026-07-211-1/+1
|
* tor-dirauth: Test approximate port summary algorithmIan Jackson2026-07-211-0/+143
|
* tor-dirauth: Implement approximate port summary algorithmIan Jackson2026-07-213-0/+368
|
* tor-dirauth: Add dependencies needed for IP summariesIan Jackson2026-07-211-0/+5
|
* tor-dirauth: Provide SupportedConsensusMethod::MAX for testingIan Jackson2026-07-211-0/+7
|
* tor-dirauth: Warn on possibly-panicking arithmeticIan Jackson2026-07-211-1/+2
|
* Merge branch 'remove-lint' into 'main'Jim Newsome2026-07-151-1/+1
|\ | | | | | | | | | | | | Removed unnecessary lint Closes #2556 See merge request tpo/core/arti!4210
| * add_warning: add reference to arti#2556Jim Newsome2026-07-151-1/+1
| |
| * Removed unnecessary lintpryty262026-07-151-1/+1
| | | | | | | | 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
|/
* Version bumps for 2.5.0Nick Mathewson2026-06-301-2/+2
| | | | | | | | | | | | | Closes #2617. We've lucked out this time, and it turns out that every one of our published crates gets a minor bump. So this was generated with: ``` for cr in $(./maint/list-crates); do cargo set-version -p $cr --bump minor done ```
* tor-dirauth: Correct authors (fmt)Ian Jackson2026-06-221-1/+5
|
* tor-dirauth: Update MSRVIan Jackson2026-06-221-1/+1
|
* tor-dirauth: Correct authorsIan Jackson2026-06-221-1/+1
|
* tor-dirauth: New crate, emptyIan Jackson2026-06-223-0/+95