tor_interface/
lib.rs

1#![doc = include_str!("../README.md")]
2
3/// Implementation of an in-process [`arti-client`](https://crates.io/crates/arti-client)-based `TorProvider`
4#[cfg(feature = "arti-client-tor-provider")]
5pub mod arti_client_tor_client;
6#[cfg(feature = "legacy-tor-provider")]
7/// Censorship circumvention configuration for pluggable-transports and bridge settings
8pub mod censorship_circumvention;
9/// Implementation of an out-of-process legacy [c-tor daemon](https://gitlab.torproject.org/tpo/core/tor)-based `TorProvider`
10#[cfg(feature = "legacy-tor-provider")]
11pub mod legacy_tor_client;
12#[cfg(feature = "legacy-tor-provider")]
13mod legacy_tor_control_stream;
14#[cfg(feature = "legacy-tor-provider")]
15mod legacy_tor_controller;
16#[cfg(feature = "legacy-tor-provider")]
17mod legacy_tor_process;
18/// Legacy c-tor daemon version.
19#[cfg(feature = "legacy-tor-provider")]
20pub mod legacy_tor_version;
21/// Implementation of a local, in-process, mock `TorProvider` for testing.
22#[cfg(feature = "mock-tor-provider")]
23pub mod mock_tor_client;
24#[cfg(feature = "legacy-tor-provider")]
25/// Proxy settings
26pub mod proxy;
27/// Tor-specific cryptographic primitives, operations, and conversion functions.
28pub mod tor_crypto;
29/// Traits and types for connecting to the Tor Network.
30pub mod tor_provider;