summaryrefslogtreecommitdiff
path: root/crates/arti-client/examples/hyper.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename FooRuntime to FooNativeTlsRuntime for consistency.Nick Mathewson2022-01-261-2/+2
|
* Unify TokioRuntime and TokioRuntimeHandleNick Mathewson2022-01-261-2/+2
| | | | | | | | | Having separate types here doesn't justify the (very limited) benefit of distinguishing between the case where we have created an executor that we own and the case where we have a handle to an already-running tokio executor. Part of #301.
* 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.