From 81515a196b527b79a5d2230a1aeca1ff4769d69d Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 28 Oct 2026 04:53:40 +0100 Subject: add tor transport --- Cargo.toml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 4b972be..9040ebb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,10 +8,26 @@ tokio-console = ["dep:console-subscriber"] # The libp2p transport (`--transports libp2p`). libp2p = ["dep:libp2p", "dep:libp2p-stream", "dep:futures"] # The Tor transport (`--transports tor`): onion services, with arti. -tor = [] +tor = [ + "dep:arti-client", + "dep:tor-hsservice", + "dep:tor-cell", + "dep:tor-proto", + "dep:tor-rtcompat", + "dep:safelog", + "dep:futures", +] [dependencies] anyhow = "1.0" +# The tor feature: arti's crates are released together, at the same version. +arti-client = { version = "0.47", optional = true, features = ["onion-service-client", "onion-service-service", "static-sqlite"] } +tor-cell = { version = "0.47", optional = true } +tor-hsservice = { version = "0.47", optional = true } +tor-proto = { version = "0.47", optional = true } +tor-rtcompat = { version = "0.47", optional = true } +# Arti's: shows onion addresses unredacted, when asked. +safelog = { version = "0.10", optional = true } argon2 = { version = "0.6", features = ["getrandom"] } async-stream = "0.3" async-trait = "0.1" -- cgit v1.3.1