summaryrefslogtreecommitdiff
path: root/crates/tor-relay-selection/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-netdir: Allow access to the `ConsensusBuilder` when building test netdirs.Gabriela Moldovan2024-09-091-1/+1
| | | | | This allows us to set SRVs for example (needed because by default, the test `NetDir` is built from a consensus that doesn't contain any SRVs).
* Re-run maint/add_warning.Nick Mathewson2024-05-061-2/+2
| | | | This commit is automatically generated.
* Run maint/add_warning.Nick Mathewson2024-03-131-0/+1
|
* tor-relay-selection: Use partition() in testing code.Nick Mathewson2024-03-121-9/+3
|
* relay-selection: Remove the extension traits for Relay and NetDirNick Mathewson2024-03-121-2/+0
| | | | | | I thought we would need these, but after the latest refactoring they turned out not to have any users, and one of them had only deprecated methods. Best just to drop them.
* Rename the RelayPredicate trait to discourage its being used directly.Nick Mathewson2024-03-121-5/+9
| | | | Everybody who can, should instead use a RelaySelector.
* New crate to define a high-level API for relay selectionNick Mathewson2024-03-121-0/+92
|
* Create a new empty tor-relay-selection crate.Nick Mathewson2024-03-121-0/+42