torut/
lib.rs

1#![allow(deprecated)] // torut uses deprecated v2 services for now. this quick hack prevents warning from displaying themselves
2//! Torut implements tor control protocol [described here](https://gitweb.torproject.org/torspec.git/tree/control-spec.txt)
3//!
4//! Right now torut does not implement all methods but it gives access to raw calls so you can use it.
5//! If something does not work or you would like to see some functionality implemented by design open an issue or PR.
6//!
7//! # Usage security
8//! Take a look at security considerations section of `README.MD`
9
10#![forbid(unsafe_code)]
11
12#[macro_use]
13extern crate derive_more;
14#[cfg(feature = "serialize")]
15#[macro_use]
16extern crate serde_derive;
17
18pub mod onion;
19
20#[cfg(feature = "control")]
21pub mod control;
22
23#[allow(dead_code)] // prevents emitting warnings when control feature is skipped
24pub mod utils;
25
26#[cfg(fuzzing)]
27pub mod fuzz;