Crates.io | tor-dirclient |
lib.rs | tor-dirclient |
version | 0.25.0 |
source | src |
created_at | 2021-06-24 15:02:32.381044 |
updated_at | 2024-12-02 18:08:45.048697 |
description | Downloads specific Tor network directory objects over the Tor network |
homepage | https://gitlab.torproject.org/tpo/core/arti/-/wikis/home |
repository | https://gitlab.torproject.org/tpo/core/arti.git/ |
max_upload_size | |
id | 414511 |
size | 83,839 |
Implements a minimal directory client for Tor.
Tor makes its directory requests as HTTP/1.0 requests tunneled over Tor circuits. For most objects, Tor uses a one-hop tunnel. Tor also uses a few strange and ad-hoc HTTP headers to select particular functionality, such as asking for diffs, compression, or multiple documents.
This crate provides an API for downloading Tor directory resources over a Tor circuit.
This crate is part of Arti, a project to implement Tor in Rust.
xz
-- enable XZ compression. This can be expensive in RAM and CPU,
but it saves a lot of bandwidth. (On by default.)
zstd
-- enable ZSTD compression. (On by default.)
routerdesc
-- Add support for downloading router descriptors.
License: MIT OR Apache-2.0