summaryrefslogtreecommitdiff
path: root/examples/hyper-examples/Cargo.toml
blob: 482165f7d4857bba03d4e0d2c3621a899d17ec7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
name = "hyper-examples"
version = "0.2.0"
authors = ["The Tor Project, Inc.", "Ramid Khan <[email protected]>", "Niel Duysters"]
edition = "2024"
license = "MIT OR Apache-2.0"
description = "Examples demonstrating the usage of Arti with hyper"
publish = false

[features]
full = [
    "arti-client/full",
    "safelog/full",
    "tor-cell/full",
    "tor-hsservice/full",
    "tor-proto/full",
]

[dependencies]
anyhow = "1.0.97"
arti-client = { path = "../../crates/arti-client", version = "0.41", features = ["onion-service-service"] }
futures = "0.3.14"
http = "1.3.1"
http-body-util = "0.1.0"
hyper = { version = "1.6", features = ["http1", "client", "server"] }
hyper-util = { version = "0.1.11", features = ["tokio"] }
safelog = { path = "../../crates/safelog", version = "0.8" }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync"] }
tokio-native-tls = "0.3.1"
tokio-util = "0.7.10"
tor-cell = { path = "../../crates/tor-cell", version = "0.41" }
tor-hsservice = { path = "../../crates/tor-hsservice", version = "0.41" }
tor-proto = { path = "../../crates/tor-proto", version = "0.41" }
tracing-subscriber = "0.3.20"
webpki-roots = "1.0.2"