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