[package]
name = "cebolla"
version = "0.1.0"
edition = "2024"
readme = "README.md"
authors = ["Zach Shipko <zachshipko@gmail.com>"]
description = "A convenience layer over Arti for building and connecting to Tor hidden services"
repository = "https://codeberg.org/twombly/cebolla"
license-file = "LICENSE.md"
[dependencies]
tokio = { version = "1.48.0", features = ["full"] }
futures-util = "0.3.31"
snafu = "0.8.9"
arti-client = { version = "0.37", features = ["onion-service-client", "onion-service-service", "rustls"] }
tor-rtcompat = { version = "0.37.0" }
tor-hsservice = { version = "0.37.0" }
tor-cell = { version = "0.37.0" }
tor-proto = { version = "0.37.0" }
tor-dirmgr = { version = "0.37.0", features = ["static"] }
safelog = { version = "0.7.0" }
tracing = "0.1.41"
http-body-util = "0.1"
hyper = { version = "1.8", features = ["http1", "client"] }
hyper-util = { version = "0.1", features = ["tokio"] }
rustls = { version = "0.23.11", features = ["aws-lc-rs"] }
rustls-native-certs = "0.7.0"
tokio-rustls = {version = "0.26.0", default-features=false, features=["logging", "tls12", "aws-lc-rs"]}
poem = { version = "3.1.12", optional = true, features = ["static-files"] }
[features]
default = ["http"]
http = ["dep:poem"]
[[example]]
name = "hello"
required-features = ["http"]