Commit 4fa78e3f authored by Ian Jackson's avatar Ian Jackson
Browse files

arti-hyper: Upgrade from an example to an "adaptation layer"

parent b083ae66
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
//! High-level layer for making http(s) requests the Tor network as a client.
//!
//! This can be used by applications which embed Arti,
//! and could also be used as an example of how to build on top of [`arti_client`].
//!
//! There is an example program [`hyper.rs`] which uses `arti-hyper`
//! to connect to Tor and make a single HTTP\[S] request.
//!
//! [`hyper.rs`]: <https://gitlab.torproject.org/tpo/core/arti/-/blob/main/crates/arti-hyper/examples/hyper.rs>

#![deny(missing_docs)]
#![warn(noop_method_call)]
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ before Arti 1.0.0.

`arti-bench`: A testing crate for running performance tests.

`arti-hyper`: An example crate, using `arti_client` as a backend for the
`arti-hyper`: Adaptation layer for using `arti_client` as a backend for the
`hyper` HTTP library.

## Design considerations, privacy considerations.