summaryrefslogtreecommitdiff
path: root/crates/arti-client/src/builder.rs
Commit message (Collapse)AuthorAgeFilesLines
* Abolish filter::DynFilter in favour of transparent DirFilterIan Jackson2022-03-251-3/+3
| | | | | | | | | | | | There are two reasons why the DynFilter newtype might be needed: 1. To impl Default. But we don't need it to impl Default since we can have an accessor which does the defaulting. 2. To hide the API. But this is usrely an unstable API. Just writing Arc<dyn> gets rid of a lot of unnecessary boilerplate and conversion code.
* Make DirFilter be Debug + Send + SyncIan Jackson2022-03-251-1/+1
| | | | | Abolish the handwritten Debug impl for DynFilter, which is no longer needed.
* Expose DirFilter from arti-client.Nick Mathewson2022-03-241-0/+28
| | | | | This will make it possible to implement a directory-munging mechanism in arti-testing for #397.
* Have caller of dirmgr_builder() provide Arc.Nick Mathewson2022-03-021-2/+2
|
* DirProvider: Fix infinite recursion bugNick Mathewson2022-02-251-1/+1
|
* Add a builder function for replacing a DirProvider.Nick Mathewson2022-02-231-7/+62
| | | | Put it behind experimental_api.
* Documentation suggestion from review.Ian Jackson2022-02-231-1/+1
|
* Make a TorClientBuilder API.Nick Mathewson2022-02-181-0/+78
This is a defensive API choice to protect against the possibility that we'll want to add a bunch of other non-config options in the future. Closes #350