summaryrefslogtreecommitdiff
path: root/crates/arti-client/examples/hyper.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use *_with_prefs() for Option<ConnectPrefs> callers in TorClient::connectNeel Chauhan2022-01-081-1/+1
|
* Change sane_defaults() and with_directories()Nick Mathewson2021-11-291-2/+2
| | | | | | | | The sane_defaults() call is now the same as you get from a default builder: by convention, we just call that method Default::default(). The with_directories() constructor makes more sense as a constructor for the TorClientConfigBuilder than for TorClientConfig.
* Allow type-complexity in hyper.rs exampleNick Mathewson2021-11-211-0/+1
| | | | | This isn't the prettiest, but suppressing the warning does make the example warning free.
* Rename tor_client/arti_tor_client to arti_client.Nick Mathewson2021-10-211-0/+159
Solves a name conflict with the existing tor_client create. Closes #130.