Cargo.toml
1 [package] 2 name = "hyper-http-hs-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 server written with hyper, running as a hidden service through Tor" 8 publish = false 9 10 [dependencies] 11 anyhow = "1.0.75" 12 arti-client = { path = "../../../crates/arti-client", features = ["onion-service-service"] } 13 futures = "0.3.14" 14 hyper = { version = "1", features = ["http1", "server"] } 15 hyper-util = { version = "0.1.1", features = ["tokio"] } 16 safelog = { path = "../../../crates/safelog" } 17 tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync"] } 18 tokio-util = "0.7.10" 19 tor-cell = { path = "../../../crates/tor-cell" } 20 tor-hsservice = { path = "../../../crates/tor-hsservice" } 21 tor-proto = { path = "../../../crates/tor-proto" } 22 tracing-subscriber = "0.3.0" 23 24 [features] 25 full = ["arti-client/full", "safelog/full", "tor-cell/full", "tor-hsservice/full", "tor-proto/full"]