Cargo.toml
 1  [package]
 2  name = "hyper-http-client-example"
 3  version = "0.1.0"
 4  authors = ["The Tor Project, Inc.", "Ramid Khan <ramidzkh@gmail.com>"]
 5  edition = "2021"
 6  license = "MIT OR Apache-2.0"
 7  description = "Example of a HTTP client written with hyper, connecting through Tor"
 8  publish = false
 9  
10  [dependencies]
11  anyhow = "1.0.75"
12  arti-client = { path = "../../../crates/arti-client" }
13  http-body-util = "0.1.0"
14  hyper = { version = "1", features = ["http1", "client"] }
15  hyper-util = { version = "0.1.1", features = ["tokio"] }
16  tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
17  tokio-native-tls = "0.3.1"
18  tracing-subscriber = "0.3.0"
19  
20  [features]
21  full = ["arti-client/full"]