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/// Implementation of an out-of-process [`arti`](https://crates.io/crates/arti)-based `TorProvider`
7#[cfg(feature = "arti-tor-provider")]
8pub mod arti_tor_client;
9#[cfg(feature = "arti-tor-provider")]
10pub mod arti_process;
11/// Censorship circumvention configuration for pluggable-transports and bridge settings
12#[cfg(feature = "legacy-tor-provider")]
13pub mod censorship_circumvention;
14/// Implementation of an out-of-process legacy [c-tor daemon](https://gitlab.torproject.org/tpo/core/tor)-based `TorProvider`
15#[cfg(feature = "legacy-tor-provider")]
16pub mod legacy_tor_client;
17#[cfg(feature = "legacy-tor-provider")]
18mod legacy_tor_control_stream;
19#[cfg(feature = "legacy-tor-provider")]
20mod legacy_tor_controller;
21#[cfg(feature = "legacy-tor-provider")]
22mod legacy_tor_process;
23/// Legacy c-tor daemon version.
24#[cfg(feature = "legacy-tor-provider")]
25pub mod legacy_tor_version;
26/// Implementation of a local, in-process, mock `TorProvider` for testing.
27#[cfg(feature = "mock-tor-provider")]
28pub mod mock_tor_client;
29/// Proxy settings
30#[cfg(feature = "legacy-tor-provider")]
31pub mod proxy;
32/// Tor-specific cryptographic primitives, operations, and conversion functions.
33pub mod tor_crypto;
34/// Traits and types for connecting to the Tor Network.
35pub mod tor_provider;