summaryrefslogtreecommitdiff
path: root/examples/hyper/hyper-http-client-example/Cargo.toml
blob: 9d9b4f6098bc2a8c093f5672ae466f6aa551bc0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[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"